From ab807849aab45394d8d5348b8fe615bdb2d3b8ae Mon Sep 17 00:00:00 2001 From: Xe Date: Mon, 31 Jan 2022 20:22:03 -0500 Subject: [PATCH] chrysalis again Signed-off-by: Xe --- hosts/chrysalis/hardware-configuration.nix | 26 ++++++++++------------ 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/hosts/chrysalis/hardware-configuration.nix b/hosts/chrysalis/hardware-configuration.nix index f11da25..7c014fe 100644 --- a/hosts/chrysalis/hardware-configuration.nix +++ b/hosts/chrysalis/hardware-configuration.nix @@ -4,28 +4,26 @@ { config, lib, pkgs, ... }: { - imports = - [ - ]; + imports = [ "${pkgs}/nixos/modules/installer/scan/not-detected.nix" ]; - boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "xhci_pci" "usbhid" "uas" "sd_mod" ]; + boot.initrd.availableKernelModules = + [ "ehci_pci" "ahci" "xhci_pci" "usbhid" "uas" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" "wl" ]; boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ]; - fileSystems."/" = - { device = "/dev/disk/by-uuid/52060f3c-0ebc-4acf-b13b-0792f855aa29"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/52060f3c-0ebc-4acf-b13b-0792f855aa29"; + fsType = "ext4"; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/6EF2-C96B"; - fsType = "vfat"; - }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/6EF2-C96B"; + fsType = "vfat"; + }; swapDevices = - [ { device = "/dev/disk/by-uuid/c0c73073-0fd4-4621-b2b9-b40c51793801"; } - ]; + [{ device = "/dev/disk/by-uuid/c0c73073-0fd4-4621-b2b9-b40c51793801"; }]; nix.maxJobs = lib.mkDefault 12; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";