diff options
| author | Grigory Shipunov | 2023-07-11 21:46:23 +0200 |
|---|---|---|
| committer | Grigory Shipunov | 2023-07-11 21:46:23 +0200 |
| commit | 91f416c7270fc136b6b0588cf741775adeb1868f (patch) | |
| tree | 0567ad06712ff7b1e40c455d4bfe982f881bdf71 /hosts/toaster | |
| parent | 6b6303ab0b4890041dcf352c9861392c4a174f8f (diff) | |
enable new pstate driver for amd
Diffstat (limited to 'hosts/toaster')
| -rw-r--r-- | hosts/toaster/amd-new-pstate.nix | 5 | ||||
| -rw-r--r-- | hosts/toaster/default.nix | 1 |
2 files changed, 6 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" ]; +} 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 |
