about summary refs log tree commit diff
path: root/nixos/modules/services/hardware/throttled.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/hardware/throttled.nix')
-rw-r--r--nixos/modules/services/hardware/throttled.nix1
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 =