feat(ops/nixos): Add module for configuring Gerrit for the repo

This commit is contained in:
Vincent Ambo 2020-06-07 19:30:52 +01:00
parent b7766431f4
commit afe0841e9d
3 changed files with 36 additions and 1 deletions

View file

@ -0,0 +1,16 @@
# Gerrit configuration for the TVL monorepo
{ pkgs, config, lib, ... }:
{
services.gerrit = {
enable = true;
listenAddress = "[::]:4778"; # 4778 - grrt
serverId = "4fdfa107-4df9-4596-8e0a-1d2bbdd96e36";
settings = {
core.packedGitLimit = "100m";
log.jsonLogging = true;
log.textLogging = false;
# TODO: gitweb config
};
};
}