diff --git a/instances/thinkstation/hardware-configuration.nix b/instances/thinkstation/hardware-configuration.nix index 57c6d42..dcd1a9b 100644 --- a/instances/thinkstation/hardware-configuration.nix +++ b/instances/thinkstation/hardware-configuration.nix @@ -1,28 +1,31 @@ # 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, ... }: +{ config, lib, modulesPath, ... }: { - imports = - [ - (modulesPath + "/installer/scan/not-detected.nix") - ]; + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "thunderbolt" "usbhid" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = { - device = "/dev/disk/by-uuid/01bf7273-414e-48a4-ae24-ca0c5b27debd"; - fsType = "btrfs"; + boot = { + initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "thunderbolt" "usbhid" "usb_storage" "sd_mod" ]; + initrd.kernelModules = [ ]; + kernelModules = [ "kvm-intel" ]; + extraModulePackages = [ ]; }; - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/DA9C-3241"; - fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; + fileSystems = { + "/" = { + device = "/dev/disk/by-uuid/01bf7273-414e-48a4-ae24-ca0c5b27debd"; + fsType = "btrfs"; + }; + + "/boot" = { + device = "/dev/disk/by-uuid/DA9C-3241"; + fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + }; }; swapDevices = [ ];