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