hostconfig/gandalf: Re-enable hibernation

This commit is contained in:
Quentin Boyer 2025-11-08 13:21:41 +01:00
parent 941e5a677b
commit cef9d83d32

View file

@ -10,7 +10,10 @@ in
boot.resumeDevice = swap;
services.logind.settings.Login.HandleLidSwitch = "suspend";
services.logind.settings.Login.HandleLidSwitch = "suspend-then-hibernate";
systemd.sleep.extraConfig = ''
HibernateDelaySec=1h
'';
swapDevices = [
{