From ecf4bf815a2bb769d0f195a080235b8baae35b80 Mon Sep 17 00:00:00 2001 From: Myned Date: Thu, 6 Feb 2025 06:40:20 -0600 Subject: [PATCH] power-profiles-daemon: default auto switching to false Signed-off-by: Myned --- options/custom/services/power-profiles-daemon.nix | 2 +- profiles/laptop/default.nix | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/options/custom/services/power-profiles-daemon.nix b/options/custom/services/power-profiles-daemon.nix index c5d4178..aaf7d22 100644 --- a/options/custom/services/power-profiles-daemon.nix +++ b/options/custom/services/power-profiles-daemon.nix @@ -12,7 +12,7 @@ with lib; let in { options.custom.services.power-profiles-daemon = { enable = mkOption {default = false;}; - auto = mkOption {default = true;}; + auto = mkOption {default = false;}; }; config = mkIf cfg.enable { diff --git a/profiles/laptop/default.nix b/profiles/laptop/default.nix index be0031b..6dab9a4 100644 --- a/profiles/laptop/default.nix +++ b/profiles/laptop/default.nix @@ -2,6 +2,10 @@ custom = { full = true; profile = "desktop"; # Inherit desktop profile + + services = { + power-profiles-daemon.auto = true; + }; }; #!! Rebuild offline - drastically increases initial download and resulting closure size