summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/ahmed/git.linus.onl/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/hosts/ahmed/git.linus.onl/default.nix b/hosts/ahmed/git.linus.onl/default.nix
index 46c74e9..6f09c8c 100644
--- a/hosts/ahmed/git.linus.onl/default.nix
+++ b/hosts/ahmed/git.linus.onl/default.nix
@@ -55,10 +55,12 @@ in {
services.cgit."git.linus.onl" = {
enable = true;
scanPath = location;
- settings = {
+ settings = let package = config.services.cgit."git.linus.onl".package; in {
root-title = "Linus' public projects";
root-desc = "hello yes this is the git server";
root-readme = toString ./about.html;
+
+ source-filter = "${package}/lib/cgit/filters/syntax-highlighting.py";
};
extraConfig = ''
readme=:README.md