From 94144b26748e163c46d2f871d3ce0dc92c3bb4ef Mon Sep 17 00:00:00 2001 From: Quentin Boyer Date: Thu, 9 Apr 2026 21:11:29 +0200 Subject: [PATCH] hostconfig/gandalf: Adapt to sleep change --- hostconfig/gandalf/nixos.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hostconfig/gandalf/nixos.nix b/hostconfig/gandalf/nixos.nix index be1aab8..27cea33 100644 --- a/hostconfig/gandalf/nixos.nix +++ b/hostconfig/gandalf/nixos.nix @@ -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 = [ {