From 2207d62a72a62af353bb4375fe2a84e2798e9256 Mon Sep 17 00:00:00 2001 From: Quentin Boyer Date: Sun, 8 Dec 2024 16:19:04 +0100 Subject: [PATCH] hostconfig/gandalf: Disable hibernation, as it currently does not work --- hostconfig/gandalf/nixos.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hostconfig/gandalf/nixos.nix b/hostconfig/gandalf/nixos.nix index 67089cc..4f55ea1 100644 --- a/hostconfig/gandalf/nixos.nix +++ b/hostconfig/gandalf/nixos.nix @@ -10,10 +10,7 @@ in boot.resumeDevice = swap; - services.logind.lidSwitch = "suspend-then-hibernate"; - systemd.sleep.extraConfig = '' - HibernateDelaySec=1h - ''; + services.logind.lidSwitch = "suspend"; swapDevices = [ {