about summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/disks/hibernate.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/disks/hibernate.nix b/system/disks/hibernate.nix
index e6d989f2..98cc7439 100644
--- a/system/disks/hibernate.nix
+++ b/system/disks/hibernate.nix
@@ -39,4 +39,7 @@
     systemd-hibernate.serviceConfig.Environment = "SYSTEMD_BYPASS_HIBERNATION_MEMORY_CHECK=1";
     systemd-logind.serviceConfig.Environment = "SYSTEMD_BYPASS_HIBERNATION_MEMORY_CHECK=1";
   };
+  sleep.extraConfig = ''
+    HibernateDelaySec=5m
+  '';
 }