From 7b065da4a02903489d0a82119bd5ab73636823b6 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 12 Sep 2023 22:48:54 -0400 Subject: treewide: un-nest all attrsets --- hosts/atlas/hardware-configuration.nix | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) (limited to 'hosts/atlas/hardware-configuration.nix') diff --git a/hosts/atlas/hardware-configuration.nix b/hosts/atlas/hardware-configuration.nix index 46b295b..00c6cd8 100644 --- a/hosts/atlas/hardware-configuration.nix +++ b/hosts/atlas/hardware-configuration.nix @@ -3,19 +3,26 @@ (modulesPath + "/profiles/qemu-guest.nix") ]; - boot.initrd.availableKernelModules = ["virtio_pci" "usbhid"]; - boot.initrd.kernelModules = []; - boot.kernelModules = []; - boot.extraModulePackages = []; + boot = { + extraModulePackages = []; + kernelModules = []; - fileSystems."/" = { - device = "/dev/disk/by-uuid/f0c84809-83f5-414b-a973-496d25d74c6d"; - fsType = "ext4"; + initrd = { + availableKernelModules = ["virtio_pci" "usbhid"]; + kernelModules = []; + }; }; - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/A253-0826"; - fsType = "vfat"; + fileSystems = { + "/" = { + device = "/dev/disk/by-uuid/f0c84809-83f5-414b-a973-496d25d74c6d"; + fsType = "ext4"; + }; + + "/boot" = { + device = "/dev/disk/by-uuid/A253-0826"; + fsType = "vfat"; + }; }; swapDevices = []; -- cgit v1.2.3