diff options
author | Ben Sima <ben@bsima.me> | 2023-09-28 13:31:02 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2023-10-27 10:06:55 -0400 |
commit | 263bd6eb4dc90be7b773ecaf72e26b3a03a7a3f2 (patch) | |
tree | 7a71dbb85edd7ed7adb3af254886467674e9d8ee | |
parent | ad46b74dc2d69c5fe6645591d7177e389e9431bd (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
-rw-r--r-- | Biz/Cloud/Git.nix | 3 |
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" |