wrap up suspend-then-hibernate

This commit is contained in:
2025-11-05 23:14:26 -06:00
parent e3546caeb5
commit ed3046e18a
2 changed files with 3 additions and 4 deletions

View File

@@ -43,13 +43,12 @@
# fix power buttons
services.logind.settings.Login = {
#HandlePowerKey = "suspend";
#HandleLidSwitch = "suspend";
HandlePowerKey = "suspend-then-hibernate";
HandleLidSwitch = "suspend-then-hibernate";
};
# sets the delay before hibernation for ^
systemd.sleep.extraConfig = ''
HibernateDelaySec=180
HibernateDelaySec=1800
'';
# boot (systemd is growing on me)