diff --git a/lock-suspend.nix b/lock-suspend.nix index 75796eb..659c39c 100644 --- a/lock-suspend.nix +++ b/lock-suspend.nix @@ -2,8 +2,8 @@ { services.logind = { + enable = true; lidSwitch = "suspend"; # suspend on lid close - handleLidSwitch = "suspend"; # explicit }; systemd.services.hyprlock-pre-suspend = {