From 15c76ee74fc2d015fdb8581b921adf6956653da1 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 28 Sep 2023 13:31:02 -0400 Subject: Allow all git config keys in gitolite The gitolite documentation is a bit of a labyrinth, but this should allow me to set 'gitweb.description' and whatever other git-config settings in the gitolite.conf file directly. I'm also disabling gerrit, because I'm not using it and the service fails to startup for some reason. Some relevant gitolite docs: - https://gitolite.com/gitolite/gitweb-daemon.html#gitweb - https://gitolite.com/gitolite/conf.html - https://gitolite.com/gitolite/git-config --- Biz/Cloud/Git.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Biz/Cloud/Git.nix b/Biz/Cloud/Git.nix index 9c31251..49bc96b 100644 --- a/Biz/Cloud/Git.nix +++ b/Biz/Cloud/Git.nix @@ -17,6 +17,7 @@ in { extraGitoliteRc = '' $RC{SITE_INFO} = 'a computer is a bicycle for the mind.'; $RC{UMASK} = 0027; + $RC{GIT_CONFIG_KEYS} = '.*'; ''; adminPubkey = lib.trivial.pipe ../Keys/Ben.pub [ builtins.readFile @@ -55,7 +56,7 @@ in { ]; }; gerrit = { - enable = true; + enable = false; builtinPlugins = [ "commit-message-length-validator" "delete-project" -- cgit v1.2.3