summaryrefslogtreecommitdiff
path: root/Biz/Cloud
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2023-09-28 13:31:02 -0400
committerBen Sima <ben@bsima.me>2023-10-25 11:18:23 -0400
commit15c76ee74fc2d015fdb8581b921adf6956653da1 (patch)
tree44e2c628a2940102f0778100ca86d77070c135d3 /Biz/Cloud
parentf9eb9a7b9887bf9d0860f67c053772684d42b989 (diff)
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
Diffstat (limited to 'Biz/Cloud')
-rw-r--r--Biz/Cloud/Git.nix3
1 files changed, 2 insertions, 1 deletions
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"