From 534e1373135138e5386d0b5d595b1392728b4646 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Fri, 12 Jan 2024 23:32:31 +0100 Subject: [PATCH] feat: suspend with lid closed --- configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index f80b2a7..be912a4 100644 --- a/configuration.nix +++ b/configuration.nix @@ -26,7 +26,7 @@ }; services.logind = { - lidSwitch = "lock"; + lidSwitch = "suspend-then-hibernate"; extraConfig = '' HandlePowerKey=suspend-then-hibernate IdleAction=suspend-then-hibernate