mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 12:40:42 +00:00
Don't hibernate by default
This commit is contained in:
parent
7486b5259a
commit
fdf5b7bace
2 changed files with 3 additions and 3 deletions
|
@ -11,10 +11,10 @@ in {
|
|||
# despite being under logind, this has nothing to do with login
|
||||
# it's about power management
|
||||
services.logind = {
|
||||
lidSwitch = "suspend-then-hibernate";
|
||||
lidSwitch = "suspend";
|
||||
lidSwitchExternalPower = "suspend";
|
||||
extraConfig = ''
|
||||
HandlePowerKey=suspend-then-hibernate
|
||||
HandlePowerKey=suspend
|
||||
HibernateDelaySec=3600
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue