enable new pstate driver for amd

This commit is contained in:
Grigory Shipunov 2023-07-11 21:46:23 +02:00
parent 6b6303ab0b
commit 91f416c727
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,5 @@
{ ... }:
{
# use new amd pstate driver
boot.kernelParams = [ "amd_pstate=active" ];
}

View file

@ -1,6 +1,7 @@
{ pkgs, ... }: { { pkgs, ... }: {
imports = [ imports = [
./amd.nix ./amd.nix
./amd-new-pstate.nix
./hardware-configuration.nix ./hardware-configuration.nix
./irc.nix ./irc.nix
./stateful-network.nix ./stateful-network.nix