summary refs log tree commit diff stats
path: root/modules/nixos/vhack/git-server/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/vhack/git-server/default.nix')
-rw-r--r--modules/nixos/vhack/git-server/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/nixos/vhack/git-server/default.nix b/modules/nixos/vhack/git-server/default.nix
index 2c1ac7e..83e18f8 100644
--- a/modules/nixos/vhack/git-server/default.nix
+++ b/modules/nixos/vhack/git-server/default.nix
@@ -75,7 +75,7 @@ in {
           $RC{UMASK} = 0027; # Enable group access, important for cgit.
 
           # Enable modifing git variables (for cgit.owner and such things)
-          $RC{GIT_CONFIG_KEYS} = 'cgit\.owner cgit\.desc cgit\.section cgit\.homepage gitweb\.owner gitweb\.description';
+          # These must be enable in the gitolite-admin repo (option user-configs = ...)
           push( @{$RC{ENABLE}}, 'config' );
           push( @{$RC{ENABLE}}, 'git-config' );
 
@@ -151,7 +151,8 @@ in {
 
           # NOTE: This allows cgit to take configuration from the bare git repositories:
           # eg. `cgit.section` should set the section, `cgit.homepage` the homepage,
-          # `gitweb.owner` the owner and `gitweb.description` the description of the repo. <2024-08-02>
+          # `cgit.owner` the owner and `cgit.description` the description of the repo (see
+          # cgitrc (5) for more). <2024-08-02>
           enable-git-config = true;
 
           # Remove the `.git` suffix from scanned repositories (this must be set _before_ `scan-path`)