Use s2idle for sleep, don't hibernate until 30m
This commit is contained in:
parent
0bc814b3a4
commit
ccf7008c94
1 changed files with 2 additions and 2 deletions
|
@ -34,9 +34,9 @@
|
|||
boot.initrd.luks.devices."luks-8b65fe7f-2115-422f-9443-7c6265d4d8ea".device = "/dev/disk/by-uuid/8b65fe7f-2115-422f-9443-7c6265d4d8ea";
|
||||
boot.initrd.luks.devices."luks-8b65fe7f-2115-422f-9443-7c6265d4d8ea".keyFile = "/crypto_keyfile.bin";
|
||||
|
||||
boot.kernelParams = [ "mem_sleep_default=deep" ];
|
||||
boot.kernelParams = [ "mem_sleep_default=s2idle" ];
|
||||
systemd.sleep.extraConfig = ''
|
||||
HibernateDelaySec=10m
|
||||
HibernateDelaySec=30m
|
||||
SuspendState=mem
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue