wrap up suspend-then-hibernate
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user