mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-05-01 00:31:42 +02:00
hostconfig/gandalf: Adapt to sleep change
This commit is contained in:
parent
f8b5a44132
commit
94144b2674
1 changed files with 3 additions and 3 deletions
|
|
@ -11,9 +11,9 @@ in
|
|||
boot.resumeDevice = swap;
|
||||
|
||||
services.logind.settings.Login.HandleLidSwitch = "suspend-then-hibernate";
|
||||
systemd.sleep.extraConfig = ''
|
||||
HibernateDelaySec=1h
|
||||
'';
|
||||
systemd.sleep.settings.Sleep = {
|
||||
HibernateDelaySec = "1h";
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue