diff options
Diffstat (limited to 'ops/nixos/monorepo-gerrit.nix')
-rw-r--r-- | ops/nixos/monorepo-gerrit.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ops/nixos/monorepo-gerrit.nix b/ops/nixos/monorepo-gerrit.nix index d25e51767ef4..efea26324425 100644 --- a/ops/nixos/monorepo-gerrit.nix +++ b/ops/nixos/monorepo-gerrit.nix @@ -32,16 +32,15 @@ in { sshd.advertisedAddress = "code.tvl.fyi:29418"; hooks.path = "${gerritHooks}"; cache.web_sessions.maxAge = "3 months"; + plugins.allowRemoteAdmin = false; + change.enableAttentionSet = true; + change.enableAssignee = false; # Configures gerrit for being reverse-proxied by nginx as per # https://gerrit-review.googlesource.com/Documentation/config-reverseproxy.html gerrit = { canonicalWebUrl = "https://cl.tvl.fyi"; docUrl = "/Documentation"; - - # This needs to be kept in lockstep with the Polygerrit UI - # version we use. - cdnPath = "https://cdn.googlesource.com/polygerrit_ui/768.0"; }; httpd.listenUrl = "proxy-https://${cfg.listenAddress}"; |