diff --git a/home-manager/modules/sway/default.nix b/home-manager/modules/sway/default.nix index 1ea9e15..0078394 100644 --- a/home-manager/modules/sway/default.nix +++ b/home-manager/modules/sway/default.nix @@ -304,6 +304,14 @@ in services = { swayidle = { enable = true; + events = { + lock = [ + { + name = "lock"; + command = "lock"; + } + ]; + }; timeouts = [ { timeout = 900;