feat(ops/nixos): Add module for configuring Gerrit for the repo
This commit is contained in:
parent
b7766431f4
commit
afe0841e9d
3 changed files with 36 additions and 1 deletions
16
ops/nixos/modules/monorepo-gerrit.nix
Normal file
16
ops/nixos/modules/monorepo-gerrit.nix
Normal 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
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue