1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Don't make containers depend on cpupower

This commit is contained in:
Eelco Dolstra 2014-04-16 01:11:32 +02:00
parent dd209e901c
commit 60a84019b4

View file

@ -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}"