diff --git a/hosts/nixos/ymir/hardware-configuration.nix b/hosts/nixos/ymir/hardware-configuration.nix index 5143b09..c056897 100644 --- a/hosts/nixos/ymir/hardware-configuration.nix +++ b/hosts/nixos/ymir/hardware-configuration.nix @@ -12,30 +12,35 @@ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ - "xhci_pci" - "ahci" - "nvme" - "usbhid" - "usb_storage" - "sd_mod" - ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = { - device = "/dev/disk/by-uuid/fd6792b4-d1ec-493c-a686-64dbeaac3371"; - fsType = "ext4"; + boot = { + initrd = { + availableKernelModules = [ + "xhci_pci" + "ahci" + "nvme" + "usbhid" + "usb_storage" + "sd_mod" + ]; + kernelModules = [ ]; + }; + kernelModules = [ "kvm-intel" ]; + extraModulePackages = [ ]; }; + fileSystems = { + "/" = { + device = "/dev/disk/by-uuid/fd6792b4-d1ec-493c-a686-64dbeaac3371"; + fsType = "ext4"; + }; - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/383D-1E8A"; - fsType = "vfat"; - options = [ - "fmask=0077" - "dmask=0077" - ]; + "/boot" = { + device = "/dev/disk/by-uuid/383D-1E8A"; + fsType = "vfat"; + options = [ + "fmask=0077" + "dmask=0077" + ]; + }; }; swapDevices = [