summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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 83e18f8..bf78f80 100644
--- a/modules/nixos/vhack/git-server/default.nix
+++ b/modules/nixos/vhack/git-server/default.nix
@@ -161,8 +161,9 @@ in {
           css = "/custom_cgit.css";
 
           # This is a number of path elements to treat as section.
-          # Set this to a big number to ensure all path elements are treated as sections.
-          section-from-path = 1000;
+          # Per default one, for the users. Orgs should use the `cgit.section` key to set
+          # a correct section name.
+          section-from-path = 1;
 
           project-list = "${config.services.gitolite.dataDir}/projects.list";