From edc62dfabc8a55b240fe467ade1bbc650f6df6e0 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 13 Jul 2020 10:51:06 +0200 Subject: krebs.git.cgit.settings += source-filter --- krebs/3modules/git.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'krebs') diff --git a/krebs/3modules/git.nix b/krebs/3modules/git.nix index 3b941b48d..4eb881341 100644 --- a/krebs/3modules/git.nix +++ b/krebs/3modules/git.nix @@ -186,6 +186,12 @@ let type = types.nullOr types.str; default = null; }; + source-filter = mkOption { + type = types.nullOr types.absolute-pathname; + default = null; + example = literalExample + "\${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py"; + }; virtual-root = mkOption { type = types.nullOr types.absolute-pathname; default = "/"; -- cgit v1.2.3