mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Don't make containers depend on cpupower
This commit is contained in:
parent
dd209e901c
commit
60a84019b4
@ -28,7 +28,7 @@ in
|
||||
|
||||
###### implementation
|
||||
|
||||
config = mkIf (config.powerManagement.cpuFreqGovernor != null) {
|
||||
config = mkIf (!config.boot.isContainer && config.powerManagement.cpuFreqGovernor != null) {
|
||||
|
||||
boot.kernelModules = [ "acpi-cpufreq" "speedstep-lib" "pcc-cpufreq"
|
||||
"cpufreq_${cfg.cpuFreqGovernor}"
|
||||
|
Loading…
Reference in New Issue
Block a user