Add thunderbolt and amd pstate to foxtrot

This commit is contained in:
Daniel Flanagan 2023-10-18 09:50:49 -05:00
parent 4269f2a1de
commit 4a893acaee
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -22,6 +22,7 @@
]) ])
++ [ ++ [
inputs.hardware.nixosModules.common-cpu-amd inputs.hardware.nixosModules.common-cpu-amd
inputs.hardware.nixosModules.common-cpu-amd-pstate
inputs.hardware.nixosModules.common-pc-laptop-ssd inputs.hardware.nixosModules.common-pc-laptop-ssd
]; ];
@ -36,7 +37,8 @@
systemd-boot.enable = true; systemd-boot.enable = true;
}; };
# kernelParams = ["boot.shell_on_fail"]; # kernelParams = ["boot.shell_on_fail"];
initrd.availableKernelModules = ["xhci_pci" "nvme" "ahci"]; initrd.availableKernelModules = ["xhci_pci" "nvme" "thunderbolt"];
kernelModules = ["kvm-amd"];
}; };
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";