From be1fc59843220e779f7a79e8fe5ba144e84e4741 Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 1 Dec 2024 20:11:42 +0100 Subject: [PATCH] configuration/desktop: Tune upower tresholds --- configuration/desktop/power.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configuration/desktop/power.nix b/configuration/desktop/power.nix index aca3231..6f8bd5a 100644 --- a/configuration/desktop/power.nix +++ b/configuration/desktop/power.nix @@ -9,6 +9,12 @@ HibernateDelaySec=30m ''; + services.upower = { + percentageLow = 20; + percentageCritical = 10; + percentageAction = 8; + }; + programs.dconf.profiles = { user.databases = [ {