about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/services/gerrit/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/services/gerrit/default.nix b/modules/services/gerrit/default.nix
index 094e1b1..ed43ce5 100644
--- a/modules/services/gerrit/default.nix
+++ b/modules/services/gerrit/default.nix
@@ -71,7 +71,16 @@ in {
         auth.gitBasicAuthPolicy = "HTTP";
 
         # Receiving email is not currently supported.
-        sendemail = { enable = false; };
+        sendemail = {
+          enable = true;
+          html = false;
+          connectTimeout = "10sec";
+          from = "gerrit <gerrit@fcuny.net>";
+          includeDiff = true;
+          smtpEncryption = "tls";
+          smtpServer = "smtp.fastmail.com";
+          smtpServerPort = 587;
+        };
       };
     };