diff --git a/hosts/palladium/configuration.nix b/hosts/palladium/configuration.nix new file mode 100644 index 0000000..3e4bc15 --- /dev/null +++ b/hosts/palladium/configuration.nix @@ -0,0 +1,20 @@ +{ config, pkgs, ... }: + +{ + imports = + [ + ./hardware-configuration.nix + ../../configuration/common + ]; + + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; + + networking.hostName = "palladium"; + + networking.useDHCP = false; + networking.interfaces.enp3s0.useDHCP = true; + + system.stateVersion = "21.03"; + +} diff --git a/hosts/palladium/hardware-configuration.nix b/hosts/palladium/hardware-configuration.nix new file mode 100644 index 0000000..6396701 --- /dev/null +++ b/hosts/palladium/hardware-configuration.nix @@ -0,0 +1,34 @@ +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, modulesPath, ... }: + +{ + imports = + [ (modulesPath + "/installer/scan/not-detected.nix") + ]; + + boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "usbhid" "usb_storage" "sd_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/b217f1e1-1337-4ef0-bad5-15829ba32c7a"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/7A6B-3444"; + fsType = "vfat"; + }; + + fileSystems."/mnt/palladium" = + { device = "/dev/disk/by-uuid/f20d20ca-6be5-4b16-81fe-e66f31ffd108"; + fsType = "ext4"; + }; + + swapDevices = [ ]; + + powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; +}