diff options
Diffstat (limited to 'config/hardware/hardware-configuration.nix')
| -rw-r--r-- | config/hardware/hardware-configuration.nix | 49 |
1 files changed, 25 insertions, 24 deletions
diff --git a/config/hardware/hardware-configuration.nix b/config/hardware/hardware-configuration.nix index 68cf8c9..ac28757 100644 --- a/config/hardware/hardware-configuration.nix +++ b/config/hardware/hardware-configuration.nix @@ -1,31 +1,32 @@ # 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 = [ "xhci_pci" "ahci" "ehci_pci" "usb_storage" "sd_mod" "sdhci_pci" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/9e447187-fae1-466a-b37d-4de1fe240c6f"; - fsType = "ext4"; - }; - - boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/47e77d74-1aad-4d99-9aa7-568d8524b305"; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/b99733fc-3734-41d3-8fe5-2682714f319e"; - fsType = "ext4"; - }; - - swapDevices = [ ]; + config, + lib, + modulesPath, + ... +}: { + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; + + boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "ehci_pci" "usb_storage" "sd_mod" "sdhci_pci"]; + boot.initrd.kernelModules = []; + boot.kernelModules = ["kvm-amd"]; + boot.extraModulePackages = []; + + fileSystems."/" = { + device = "/dev/disk/by-uuid/9e447187-fae1-466a-b37d-4de1fe240c6f"; + fsType = "ext4"; + }; + + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/b99733fc-3734-41d3-8fe5-2682714f319e"; + fsType = "ext4"; + }; + + swapDevices = []; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's |
