mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 07:29:43 +00:00
8 lines
191 B
Nix
8 lines
191 B
Nix
|
{
|
||
|
# /etc/systemd/sleep.conf
|
||
|
systemd.sleep.extraConfig = ''
|
||
|
# Configure `systemctl suspend-then-sleep` to enter hibernation after 3 hours of sleep.
|
||
|
HibernateDelaySec=10800
|
||
|
'';
|
||
|
}
|