mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
nixos/tlp: Use hardware.cpu.x86.msr
This commit is contained in:
parent
b893b67028
commit
b70a63a910
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue