Merge pull request #34350 from Ma27/fix-powermanagement-default

nixos/powerManagement: set `cpuFreqGovernor` with `mkOptionDefault`
This commit is contained in:
Franz Pletz 2018-01-28 14:46:51 +00:00 committed by GitHub
commit 50dda062d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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