3
0
Fork 0
forked from mirrors/nixpkgs

Don't run the cpufreq service in VMs

This commit is contained in:
Eelco Dolstra 2014-04-16 10:36:16 +02:00
parent 85e9ad1b2f
commit 8b7d73abba

View file

@ -44,6 +44,7 @@ in
script = ''
cpupower frequency-set -g ${cfg.cpuFreqGovernor}
'';
unitConfig.ConditionVirtualization = false;
serviceConfig = {
Type = "oneshot";
RemainAfterExit = "yes";