From 36103e9863cfabf660c07f7230fc5d2162f85b92 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sun, 28 Jan 2018 21:50:45 +0100 Subject: [PATCH] nixos/powerManagement: remove duplicate definition When not set just use the kernel default. `nixos-generate-config` will pick a reasonable default. cc #34350 --- nixos/modules/config/power-management.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/nixos/modules/config/power-management.nix b/nixos/modules/config/power-management.nix index 7a5ce6ee5b99..4c37e8a6208c 100644 --- a/nixos/modules/config/power-management.nix +++ b/nixos/modules/config/power-management.nix @@ -69,9 +69,6 @@ in config = mkIf cfg.enable { - # Leftover for old setups, should be set by nixos-generate-config now - powerManagement.cpuFreqGovernor = mkOptionDefault "ondemand"; - systemd.targets.post-resume = { description = "Post-Resume Actions"; requires = [ "post-resume.service" ];