From 30367c438bd8ce7bbe207a2f98ce1dffd673b447 Mon Sep 17 00:00:00 2001 From: Quentin Boyer Date: Sat, 8 Nov 2025 12:45:45 +0100 Subject: [PATCH] gandalf: Adapt to logind changes --- hostconfig/gandalf/nixos.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hostconfig/gandalf/nixos.nix b/hostconfig/gandalf/nixos.nix index a3ea860..424b7e4 100644 --- a/hostconfig/gandalf/nixos.nix +++ b/hostconfig/gandalf/nixos.nix @@ -10,7 +10,7 @@ in boot.resumeDevice = swap; - services.logind.lidSwitch = "suspend"; + services.logind.settings.Login.HandleLidSwitch = "suspend"; swapDevices = [ {