diff options
author | Lorenz Leutgeb <lorenz@leutgeb.xyz> | 2023-10-16 21:42:52 +0200 |
---|---|---|
committer | Lorenz Leutgeb <lorenz@leutgeb.xyz> | 2023-10-22 09:41:00 +0200 |
commit | 62c63f746ae3cb53c8a6de5d3e874b8f03e205d2 (patch) | |
tree | cb8553f558bb456224799d570b8e0053d3a841b2 /nixos/modules | |
parent | 84803308bf8f4c2b182f34a18236de6e766318be (diff) |
nixos/undervolt: Use `hardware.cpu.x86.msr`
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/hardware/undervolt.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/hardware/undervolt.nix b/nixos/modules/services/hardware/undervolt.nix index 944777475401b..258f09bbab09f 100644 --- a/nixos/modules/services/hardware/undervolt.nix +++ b/nixos/modules/services/hardware/undervolt.nix @@ -159,7 +159,7 @@ in }; config = mkIf cfg.enable { - boot.kernelModules = [ "msr" ]; + hardware.cpu.x86.msr.enable = true; environment.systemPackages = [ cfg.package ]; |