feat: suspend with lid closed

This commit is contained in:
Michael Mandl 2024-01-12 23:32:31 +01:00
parent e45dd97cad
commit 534e137313
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

@ -26,7 +26,7 @@
};
services.logind = {
lidSwitch = "lock";
lidSwitch = "suspend-then-hibernate";
extraConfig = ''
HandlePowerKey=suspend-then-hibernate
IdleAction=suspend-then-hibernate