about summary refs log tree commit diff
path: root/ops/nixos/modules/monorepo-gerrit.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-06-13T01·21+0100
committertazjin <mail@tazj.in>2020-06-13T02·16+0000
commite09c4a0ae8aef9163296b4a5340a3b9ff7e26c34 (patch)
tree5ceb99d25f32763dc1a58f8690f64363644fc3c7 /ops/nixos/modules/monorepo-gerrit.nix
parentb994d28ccc708cf173c054f46414fd801d4f0dbf (diff)
chore(monorepo-gerrit): Point SMTP configuration at smtprelay r/927
Change-Id: I33085974fb3764f8a6df7f16245b2f5602f94118
Reviewed-on: https://cl.tvl.fyi/c/depot/+/102
Reviewed-by: lukegb <lukegb@tvl.fyi>
Diffstat (limited to 'ops/nixos/modules/monorepo-gerrit.nix')
-rw-r--r--ops/nixos/modules/monorepo-gerrit.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/ops/nixos/modules/monorepo-gerrit.nix b/ops/nixos/modules/monorepo-gerrit.nix
index 174c59948e29..18c61964f157 100644
--- a/ops/nixos/modules/monorepo-gerrit.nix
+++ b/ops/nixos/modules/monorepo-gerrit.nix
@@ -56,13 +56,12 @@ in {
       sendemail = {
         enable = true;
         html = false;
-        connectTimeout = "30sec";
+        connectTimeout = "10sec";
         from = "TVL Code Review <tvlbot@tazj.in>";
         includeDiff = true;
-        smtpEncryption = "tls";
-        smtpServer = "smtp.gmail.com";
-        smtpServerPort = 587;
-        smtpUser = "tvlbot@tazj.in";
+        smtpEncryption = "none";
+        smtpServer = "localhost";
+        smtpServerPort = 2525;
       };
     };
   };