From 42cc781bd7fe7367d3ac4a476701a6acf786e6b2 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Sat, 26 Jul 2025 19:04:45 +0200 Subject: [PATCH] feat: adds sleep-then-hibernate to `sakura` --- hosts/sakura/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/sakura/default.nix b/hosts/sakura/default.nix index 99124c4..18e2ded 100644 --- a/hosts/sakura/default.nix +++ b/hosts/sakura/default.nix @@ -71,6 +71,10 @@ ${pkgs.fw-ectool}/bin/ectool led battery auto ''; }; + systemd.sleep.extraConfig = '' + HibernateDelaySec=30m + ''; + services.logind.lidSwitch = "suspend-then-hibernate"; boot = { plymouth.enable = true; kernelParams = [