about summary refs log tree commit diff
path: root/colmena
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-02-04 15:22:00 +0900
committersefidel <contact@sefidel.net>2023-02-04 15:22:00 +0900
commitf60f50d70fae53eb152c8e1108cfa0c49946f154 (patch)
treee49c741a4c2e37fb6494b3f9f9182ef1e53c3ffd /colmena
parent0e89b2a3c1e017b18f9d8a6dbb975a79cfd10856 (diff)
downloadnixrc-f60f50d70fae53eb152c8e1108cfa0c49946f154.tar.gz
nixrc-f60f50d70fae53eb152c8e1108cfa0c49946f154.zip
feat(colmena/services): cgit: adapt to scheme
Diffstat (limited to 'colmena')
-rw-r--r--colmena/cobalt/services/cgit.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/colmena/cobalt/services/cgit.nix b/colmena/cobalt/services/cgit.nix
index c667915..4e65e8c 100644
--- a/colmena/cobalt/services/cgit.nix
+++ b/colmena/cobalt/services/cgit.nix
@@ -76,6 +76,14 @@
     enable-gitweb-owner=1
     remove-suffix=1
 
+    enable-git-clone=1
+    enable-index-links=1
+    enable-commit-graph=1
+    enable-log-filecount=1
+    enable-log-linecount=1
+
+    branch-sort=age
+
     readme=:README
     readme=:readme
     readme=:README.md
@@ -86,6 +94,8 @@
     source-filter=${pkgs.cgit-pink}/lib/cgit/filters/syntax-highlighting.py
     about-filter=${pkgs.cgit-pink}/lib/cgit/filters/about-formatting.sh
 
+    section-from-path=2
+
     project-list=/var/lib/gitolite/projects.list
     scan-path=/var/lib/gitolite/repositories
   '';