feat: use suspend-then-hibernate on power-button and idle timeout
parent
a6bd46ab49
commit
edbbd3ca1b
|
@ -25,10 +25,10 @@
|
|||
};
|
||||
|
||||
services.logind = {
|
||||
lidSwitch = "suspend";
|
||||
lidSwitchExternalPower = "ignore";
|
||||
lidSwitch = "lock";
|
||||
extraConfig = ''
|
||||
HandlePowerKey=suspend
|
||||
HandlePowerKey=suspend-then-hibernate
|
||||
IdleAction=suspend-then-hibernate
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue