summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-01-13 16:40:46 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2016-01-13 16:40:46 +0100
commit2c9375f8cb4f71b911e7988f3f29d89f7df12ebf (patch)
tree5dab4a37fc5e7392c99a419bf2771d56f2b24a5a
parent75067fbeb41be81f1dfa11c9509104c7459cc239 (diff)
downloadnixos-2c9375f8cb4f71b911e7988f3f29d89f7df12ebf.tar
nixos-2c9375f8cb4f71b911e7988f3f29d89f7df12ebf.tar.gz
nixos-2c9375f8cb4f71b911e7988f3f29d89f7df12ebf.tar.bz2
nixos-2c9375f8cb4f71b911e7988f3f29d89f7df12ebf.tar.xz
nixos-2c9375f8cb4f71b911e7988f3f29d89f7df12ebf.zip
more cgit config
-rw-r--r--ymir.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index 94a663fc..22fe11e9 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -223,6 +223,7 @@ in rec {
223 223
224 enable-commit-graph=1 224 enable-commit-graph=1
225 snapshots=tar tar.gz tar.bz2 tar.xz zip 225 snapshots=tar tar.gz tar.bz2 tar.xz zip
226 side-by-side-diffs=1
226 227
227 source-filter=${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py 228 source-filter=${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py
228 about-filter=${pkgs.cgit}/lib/cgit/filters/about-formatting.sh 229 about-filter=${pkgs.cgit}/lib/cgit/filters/about-formatting.sh
@@ -234,7 +235,9 @@ in rec {
234 readme=:readme.txt 235 readme=:readme.txt
235 readme=:readme 236 readme=:readme
236 237
238 strict-export=git-daemon-ok
237 project-list=/srv/git/projects.list 239 project-list=/srv/git/projects.list
240 section-from-path=2
238 scan-path=/srv/git/repositories 241 scan-path=/srv/git/repositories
239 ''; 242 '';
240 }; 243 };