feat: use suspend-then-hibernate on power-button and idle timeout
This commit is contained in:
parent
a6bd46ab49
commit
edbbd3ca1b
1 changed files with 3 additions and 3 deletions
|
@ -25,10 +25,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services.logind = {
|
services.logind = {
|
||||||
lidSwitch = "suspend";
|
lidSwitch = "lock";
|
||||||
lidSwitchExternalPower = "ignore";
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
HandlePowerKey=suspend
|
HandlePowerKey=suspend-then-hibernate
|
||||||
|
IdleAction=suspend-then-hibernate
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue