From 91f416c7270fc136b6b0588cf741775adeb1868f Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Tue, 11 Jul 2023 21:46:23 +0200 Subject: [PATCH] enable new pstate driver for amd --- hosts/toaster/amd-new-pstate.nix | 5 +++++ hosts/toaster/default.nix | 1 + 2 files changed, 6 insertions(+) create mode 100644 hosts/toaster/amd-new-pstate.nix 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" ]; +} diff --git a/hosts/toaster/default.nix b/hosts/toaster/default.nix index 65c7da1..0a2d48d 100644 --- a/hosts/toaster/default.nix +++ b/hosts/toaster/default.nix @@ -1,6 +1,7 @@ { pkgs, ... }: { imports = [ ./amd.nix + ./amd-new-pstate.nix ./hardware-configuration.nix ./irc.nix ./stateful-network.nix