about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-06-13T02·31+0100
committertazjin <mail@tazj.in>2020-06-13T03·15+0000
commit213d637ca9b3944b57bd90025802e5790a710dcf (patch)
treed4636718a0640ddd33ad7dc3ea157bfe268b608d /ops
parent01ddbb43974afd3fd4e40db2677b03c7a544a11b (diff)
fix(monorepo-gerrit): Configure advertised address for SSH correctly r/929
This is a prerequisite for setting up the download-commands plugin.

Change-Id: I7803ef18be759f95aec020e4a00ca8e0fb48bfe0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/161
Reviewed-by: lukegb <lukegb@tvl.fyi>
Diffstat (limited to 'ops')
-rw-r--r--ops/nixos/modules/monorepo-gerrit.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/ops/nixos/modules/monorepo-gerrit.nix b/ops/nixos/modules/monorepo-gerrit.nix
index 18c61964f157..1e45bb744e74 100644
--- a/ops/nixos/modules/monorepo-gerrit.nix
+++ b/ops/nixos/modules/monorepo-gerrit.nix
@@ -11,6 +11,7 @@ in {
       core.packedGitLimit = "100m";
       log.jsonLogging = true;
       log.textLogging = false;
+      sshd.advertisedAddress = "code.tvl.fyi:29418";
 
       # Configures gerrit for being reverse-proxied by nginx as per
       # https://gerrit-review.googlesource.com/Documentation/config-reverseproxy.html