diff --git a/ops/machines/nevsky/default.nix b/ops/machines/nevsky/default.nix index 5704a9db1..275b7acaf 100644 --- a/ops/machines/nevsky/default.nix +++ b/ops/machines/nevsky/default.nix @@ -12,6 +12,7 @@ in (mod "irccat.nix") (mod "known-hosts.nix") (mod "owothia.nix") + (mod "smtprelay.nix") (mod "tvl-buildkite.nix") (mod "tvl-users.nix") (mod "www/cache.tvl.fyi.nix") @@ -365,6 +366,17 @@ in irc_pass = "$CLBOT_PASS"; }; }; + + # Start a local SMTP relay to Gmail (used by gerrit) + smtprelay = { + enable = true; + args = { + listen = ":2525"; + remote_host = "smtp.gmail.com:587"; + remote_auth = "plain"; + remote_user = "tvlbot@tazj.in"; + }; + }; }; # Start a ZNC instance which bounces for tvlbot and owothia.