summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-01-30 16:59:45 +0100
committertv <tv@krebsco.de>2023-01-30 16:59:45 +0100
commit92d2f7d72f0812b333a4a9eadafb99f22699f315 (patch)
tree3a38340dbe3540b0d302fbacb5a08ac01ec77065 /tv/2configs
parentc7dbbf6dc21cdf3a4f9668e35e0afee492e60a58 (diff)
tv winmax2: use amd-pstate
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/hw/winmax2.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/tv/2configs/hw/winmax2.nix b/tv/2configs/hw/winmax2.nix
index b52ab0f..49af761 100644
--- a/tv/2configs/hw/winmax2.nix
+++ b/tv/2configs/hw/winmax2.nix
@@ -6,7 +6,14 @@
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usbhid" ];
boot.initrd.kernelModules = [ "amdgpu" ];
- boot.kernelModules = [ "kvm-amd" ];
+ boot.kernelModules = [
+ "amd-pstate"
+ "kvm-amd"
+ ];
+ boot.kernelPackages = pkgs.linuxPackages_latest;
+ boot.kernelParams = [
+ "amd_pstate=passive"
+ ];
hardware.bluetooth.enable = true;