nixdots/system/roles/laptop/power/systemd.nix

8 lines
191 B
Nix
Raw Normal View History

2024-08-07 19:54:51 +00:00
{
# /etc/systemd/sleep.conf
systemd.sleep.extraConfig = ''
# Configure `systemctl suspend-then-sleep` to enter hibernation after 3 hours of sleep.
HibernateDelaySec=10800
'';
}