mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-13 19:00:19 +01:00
hostconfig/gandalf: Re-enable hibernation
This commit is contained in:
parent
941e5a677b
commit
cef9d83d32
1 changed files with 4 additions and 1 deletions
|
|
@ -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 = [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue