From 51726eee840179ec6bea07cc979bfb8c5a54d149 Mon Sep 17 00:00:00 2001 From: Soispha Date: Tue, 1 Aug 2023 11:06:59 +0200 Subject: Fix(system/disks/hibernate): Hibernate after 5m when suspend -> hibernate On `systemctl suspend-than-hibernate` wait 5m in suspend, than hibernate --- system/disks/hibernate.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'system') 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 + ''; } -- cgit 1.4.1