mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
Don't run the cpufreq service in VMs
This commit is contained in:
parent
85e9ad1b2f
commit
8b7d73abba
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ in
|
|||
script = ''
|
||||
cpupower frequency-set -g ${cfg.cpuFreqGovernor}
|
||||
'';
|
||||
unitConfig.ConditionVirtualization = false;
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = "yes";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue