mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
Remove non-cpufreq_* modules since they are loaded by udev.
This commit is contained in:
parent
f264c638df
commit
87b3e7a93c
|
@ -30,9 +30,7 @@ in
|
|||
|
||||
config = mkIf (!config.boot.isContainer && config.powerManagement.cpuFreqGovernor != null) {
|
||||
|
||||
boot.kernelModules = [ "acpi-cpufreq" "speedstep-lib" "pcc-cpufreq"
|
||||
"cpufreq_${cfg.cpuFreqGovernor}"
|
||||
];
|
||||
boot.kernelModules = [ "cpufreq_${cfg.cpuFreqGovernor}" ];
|
||||
|
||||
environment.systemPackages = [ cpupower ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue