diff --git a/sets/sway.nix b/sets/sway.nix index 15c509b..af30cf3 100644 --- a/sets/sway.nix +++ b/sets/sway.nix @@ -4,6 +4,7 @@ security.polkit.enable = true; services = { accounts-daemon.enable = true; + logind.lidSwitch = "suspend"; logind.extraConfig = "HandlePowerKey=suspend"; }; xdg.portal = {