From be1fc59843220e779f7a79e8fe5ba144e84e4741 Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 1 Dec 2024 20:11:42 +0100 Subject: [PATCH 1/2] 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 = [ { From 18df56c1a8defd69891911cb99235b3fa258c90f Mon Sep 17 00:00:00 2001 From: Flake Update Bot Date: Mon, 2 Dec 2024 03:03:59 +0100 Subject: [PATCH 2/2] Update nixpkgs 2024-12-02-02-03 --- flake.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index b7482bf..d3ee7dd 100644 --- a/flake.lock +++ b/flake.lock @@ -288,11 +288,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1732521221, - "narHash": "sha256-2ThgXBUXAE1oFsVATK1ZX9IjPcS4nKFOAjhPNKuiMn0=", + "lastModified": 1732837521, + "narHash": "sha256-jNRNr49UiuIwaarqijgdTR2qLPifxsVhlJrKzQ8XUIE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "4633a7c72337ea8fd23a4f2ba3972865e3ec685d", + "rev": "970e93b9f82e2a0f3675757eb0bfc73297cc6370", "type": "github" }, "original": {