diff --git a/modules/services/swayidle.nix b/modules/services/swayidle.nix index bf791b1ec..b28de6f0e 100644 --- a/modules/services/swayidle.nix +++ b/modules/services/swayidle.nix @@ -74,6 +74,7 @@ in { example = literalExpression '' [ { timeout = 60; command = "${pkgs.swaylock}/bin/swaylock -fF"; } + { timeout = 90; command = "${pkgs.systemd}/bin/systemctl suspend"; } ] ''; description = "List of commands to run after idle timeout.";