From 1b27e93c03c7529b2c7223e1906b512e6f47969a Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Mon, 10 Mar 2025 15:26:09 +0100 Subject: [PATCH] Fix suspend-then-hibernate on fern --- hosts/fern/hardware.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/fern/hardware.nix b/hosts/fern/hardware.nix index 8b0a85c..205da70 100644 --- a/hosts/fern/hardware.nix +++ b/hosts/fern/hardware.nix @@ -32,4 +32,9 @@ criticalPowerAction = "Hibernate"; }; }; + + systemd.sleep.extraConfig = '' + HibernateDelaySec=1h + HibernateOnACPower=yes + ''; }