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

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