mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 13:39:15 +03:00
Don't make containers depend on cpupower
This commit is contained in:
parent
dd209e901c
commit
60a84019b4
1 changed files with 1 additions and 1 deletions
|
@ -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}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue