mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03: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 New Issue
Block a user