From e3546caeb5079ceffefa9b98eff67fd8e22c616e Mon Sep 17 00:00:00 2001 From: blake Date: Wed, 5 Nov 2025 22:53:27 -0600 Subject: [PATCH] i think i finally figured out hibernate then sleep --- hosts/nixos/yveltal/configuration.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/nixos/yveltal/configuration.nix b/hosts/nixos/yveltal/configuration.nix index b960e79..f20b027 100644 --- a/hosts/nixos/yveltal/configuration.nix +++ b/hosts/nixos/yveltal/configuration.nix @@ -47,9 +47,10 @@ #HandleLidSwitch = "suspend"; HandlePowerKey = "suspend-then-hibernate"; HandleLidSwitch = "suspend-then-hibernate"; - HibernateDelaySec = "60"; - #HibernateDelaySec = "1800"; }; + systemd.sleep.extraConfig = '' + HibernateDelaySec=180 + ''; # boot (systemd is growing on me) boot = {