diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-14 10:24:55 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-14 10:24:55 +0200 |
commit | 6b07f0ee9674c61d3feb37ba2600862aab978b11 (patch) | |
tree | b3b1c1d5832faadaaa03a1b199f56c919bf13061 /modules/nixos | |
parent | fix(nixos/git-server): Use the correct number in the `section-from-path` setting (diff) | |
download | nixos-server-6b07f0ee9674c61d3feb37ba2600862aab978b11.tar.gz nixos-server-6b07f0ee9674c61d3feb37ba2600862aab978b11.zip |
docs(nixos/git-server): Improve the comment on the possible git config keys
Diffstat (limited to 'modules/nixos')
-rw-r--r-- | modules/nixos/vhack/git-server/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/nixos/vhack/git-server/default.nix b/modules/nixos/vhack/git-server/default.nix index ed73cc7..610c6e7 100644 --- a/modules/nixos/vhack/git-server/default.nix +++ b/modules/nixos/vhack/git-server/default.nix @@ -150,9 +150,9 @@ in { enable-index-owner = true; # NOTE: This allows cgit to take configuration from the bare git repositories: - # eg. `cgit.section` should set the section, `cgit.homepage` the homepage, - # `cgit.owner` the owner and `cgit.description` the description of the repo (see - # cgitrc (5) for more). <2024-08-02> + # All `repo.<key>` can be set by setting `cgit.<key>` in the git config. E.g.: + # setting the owner (i.e. `repo.owner`) would be done by setting the + # `cgit.owner` config. All repo options are outline in the cgitrc (5) man page. enable-git-config = true; # Remove the `.git` suffix from scanned repositories (this must be set _before_ `scan-path`) |