summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/nixos/vhack/git-server/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/nixos/vhack/git-server/default.nix b/modules/nixos/vhack/git-server/default.nix
index bf78f80..ed73cc7 100644
--- a/modules/nixos/vhack/git-server/default.nix
+++ b/modules/nixos/vhack/git-server/default.nix
@@ -161,9 +161,8 @@ in {
           css = "/custom_cgit.css";
 
           # This is a number of path elements to treat as section.
-          # Per default one, for the users. Orgs should use the `cgit.section` key to set
-          # a correct section name.
-          section-from-path = 1;
+          # `-1` means that we treat the last element as name, all others as sections
+          section-from-path = -1;
 
           project-list = "${config.services.gitolite.dataDir}/projects.list";