From 92d2f7d72f0812b333a4a9eadafb99f22699f315 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 30 Jan 2023 16:59:45 +0100 Subject: tv winmax2: use amd-pstate --- tv/2configs/hw/winmax2.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'tv/2configs') 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; -- cgit v1.2.3