nixos/tlp: Use hardware.cpu.x86.msr

This commit is contained in:
Lorenz Leutgeb 2023-10-16 21:41:32 +02:00
parent b893b67028
commit b70a63a910

View File

@ -47,7 +47,7 @@ in
###### implementation
config = mkIf cfg.enable {
boot.kernelModules = [ "msr" ];
hardware.cpu.x86.msr.enable = true;
warnings = optional (cfg.extraConfig != "") ''
Using config.services.tlp.extraConfig is deprecated and will become unsupported in a future release. Use config.services.tlp.settings instead.