summaryrefslogtreecommitdiffstats
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
commita85de9a0deb81f8b8759bfc6a54db0d823ab7a19 (patch)
tree8adc49b6c1221ceae1488eed68724edb5203e52b
parent006dd80a7603e3db3cc21d1df49eeca35da6d83b (diff)
tv winmax2: use amd-pstate
-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 b52ab0fa5..49af7611c 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;