hostconfig/gandalf: Suspend then hibernate when closing the lid

This commit is contained in:
Quentin Boyer 2024-07-25 00:44:52 +02:00
parent bc8d1e627b
commit c57cd12f4b

View file

@ -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
'';