diff options
author | Linnnus <[email protected]> | 2024-04-17 20:03:10 +0200 |
---|---|---|
committer | Linnnus <[email protected]> | 2024-05-09 14:06:08 +0200 |
commit | d2581ca4eae6719e82185912d113da6c347a4ba2 (patch) | |
tree | 5aaccc9887720aa40e53ab0dae57a9fd58d7781c /hosts/ahmed/git.linus.onl/default.nix | |
parent | 070c681f42ebae7da3ac841dcc238e7b9c91ce6e (diff) |
hosts/ahmed/git.linus.onl: Syntax highlight items
Diffstat (limited to 'hosts/ahmed/git.linus.onl/default.nix')
-rw-r--r-- | hosts/ahmed/git.linus.onl/default.nix | 4 |
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 |