feat: suspend with lid closed
parent
e45dd97cad
commit
534e137313
|
@ -26,7 +26,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services.logind = {
|
services.logind = {
|
||||||
lidSwitch = "lock";
|
lidSwitch = "suspend-then-hibernate";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
HandlePowerKey=suspend-then-hibernate
|
HandlePowerKey=suspend-then-hibernate
|
||||||
IdleAction=suspend-then-hibernate
|
IdleAction=suspend-then-hibernate
|
||||||
|
|
Loading…
Reference in New Issue