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

Changed files
+1 -1
nixos
modules
services
hardware
+1 -1
nixos/modules/services/hardware/tlp.nix
···
###### implementation
config = mkIf cfg.enable {
-
boot.kernelModules = [ "msr" ];
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.
···
###### implementation
config = mkIf cfg.enable {
+
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.