summaryrefslogtreecommitdiff
path: root/hosts/toaster/amd-new-pstate.nix
diff options
context:
space:
mode:
authorGrigory Shipunov2023-07-11 21:46:23 +0200
committerGrigory Shipunov2023-07-11 21:46:23 +0200
commit91f416c7270fc136b6b0588cf741775adeb1868f (patch)
tree0567ad06712ff7b1e40c455d4bfe982f881bdf71 /hosts/toaster/amd-new-pstate.nix
parent6b6303ab0b4890041dcf352c9861392c4a174f8f (diff)
enable new pstate driver for amd
Diffstat (limited to 'hosts/toaster/amd-new-pstate.nix')
-rw-r--r--hosts/toaster/amd-new-pstate.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/toaster/amd-new-pstate.nix b/hosts/toaster/amd-new-pstate.nix
new file mode 100644
index 0000000..179cce3
--- /dev/null
+++ b/hosts/toaster/amd-new-pstate.nix
@@ -0,0 +1,5 @@
+{ ... }:
+{
+ # use new amd pstate driver
+ boot.kernelParams = [ "amd_pstate=active" ];
+}