mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-15 11:50:21 +01:00
hostconfig/gandalf: Suspend then hibernate when closing the lid
This commit is contained in:
parent
bc8d1e627b
commit
c57cd12f4b
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
boot.resumeDevice = "/dev/disk/by-uuid/6993932f-5b29-4207-915a-2f185ec9f485";
|
||||
|
||||
services.logind.lidSwitch = "suspend-then-hibernate";
|
||||
systemd.sleep.extraConfig = ''
|
||||
HibernateDelaySec=1h
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue