diff options
author | FliegendeWurst <2012gdwu+github@posteo.de> | 2023-10-31 13:55:12 +0100 |
---|---|---|
committer | FliegendeWurst <2012gdwu+github@posteo.de> | 2023-10-31 22:14:02 +0100 |
commit | 1391725fb5ae8458a4224e58b8206c03f21e881c (patch) | |
tree | c4775d644d4aeb4b6eb8aad6b4a45f3e91753a93 /nixos/modules/services/hardware | |
parent | ccd110837b0e48de648d04cf598e38e26b8f7328 (diff) |
nixos/throttled: load required kernel module
Diffstat (limited to 'nixos/modules/services/hardware')
-rw-r--r-- | nixos/modules/services/hardware/throttled.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/hardware/throttled.nix b/nixos/modules/services/hardware/throttled.nix index 9fa4958861198..0f1f00348ee8d 100644 --- a/nixos/modules/services/hardware/throttled.nix +++ b/nixos/modules/services/hardware/throttled.nix @@ -27,6 +27,7 @@ in { then pkgs.writeText "throttled.conf" cfg.extraConfig else "${pkgs.throttled}/etc/throttled.conf"; + hardware.cpu.x86.msr.enable = true; # Kernel 5.9 spams warnings whenever userspace writes to CPU MSRs. # See https://github.com/erpalma/throttled/issues/215 hardware.cpu.x86.msr.settings.allow-writes = |