about summary refs log blame commit diff
path: root/ops/nixos/modules/monorepo-gerrit.nix
blob: 2b8e5e773852d47bf785b78d00a239e475a91b58 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
    };
  };
}