Don't make containers depend on cpupower
This commit is contained in:
@@ -28,7 +28,7 @@ in
|
|||||||
|
|
||||||
###### implementation
|
###### implementation
|
||||||
|
|
||||||
config = mkIf (config.powerManagement.cpuFreqGovernor != null) {
|
config = mkIf (!config.boot.isContainer && config.powerManagement.cpuFreqGovernor != null) {
|
||||||
|
|
||||||
boot.kernelModules = [ "acpi-cpufreq" "speedstep-lib" "pcc-cpufreq"
|
boot.kernelModules = [ "acpi-cpufreq" "speedstep-lib" "pcc-cpufreq"
|
||||||
"cpufreq_${cfg.cpuFreqGovernor}"
|
"cpufreq_${cfg.cpuFreqGovernor}"
|
||||||
|
|||||||
Reference in New Issue
Block a user