diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2018-01-28 14:46:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-28 14:46:51 +0000 |
commit | 50dda062d872c82e075458186fede4f70c79eb61 (patch) | |
tree | 18bf98ec9f7925081675f93201ced46e6dffc6da /nixos | |
parent | e305380f0c3f92b765af1f36f42cc6c6ba9e7e14 (diff) | |
parent | 8ed3a90cdfe99722aee1d158a7d9f9bfd63ce275 (diff) |
Merge pull request #34350 from Ma27/fix-powermanagement-default
nixos/powerManagement: set `cpuFreqGovernor` with `mkOptionDefault`
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/config/power-management.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/power-management.nix b/nixos/modules/config/power-management.nix index a4a4d6e1a6af..7a5ce6ee5b99 100644 --- a/nixos/modules/config/power-management.nix +++ b/nixos/modules/config/power-management.nix @@ -70,7 +70,7 @@ in config = mkIf cfg.enable { # Leftover for old setups, should be set by nixos-generate-config now - powerManagement.cpuFreqGovernor = mkDefault "ondemand"; + powerManagement.cpuFreqGovernor = mkOptionDefault "ondemand"; systemd.targets.post-resume = { description = "Post-Resume Actions"; |