summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorpacien <pacien.trangirard@pacien.net>2019-06-11 14:29:19 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2019-06-11 15:27:56 +0200
commit7cc0c50e3990cfb33aeec6ae90a0a2952e76a811 (patch)
tree6d9bb6977bdebc70d867a7219b14035f28d1a47b /nixos
parent4965343da0fbfd5b5842c5341b130710c090d116 (diff)
downloadnixpkgs-7cc0c50e3990cfb33aeec6ae90a0a2952e76a811.tar
nixpkgs-7cc0c50e3990cfb33aeec6ae90a0a2952e76a811.tar.gz
nixpkgs-7cc0c50e3990cfb33aeec6ae90a0a2952e76a811.tar.bz2
nixpkgs-7cc0c50e3990cfb33aeec6ae90a0a2952e76a811.tar.lz
nixpkgs-7cc0c50e3990cfb33aeec6ae90a0a2952e76a811.tar.xz
nixpkgs-7cc0c50e3990cfb33aeec6ae90a0a2952e76a811.tar.zst
nixpkgs-7cc0c50e3990cfb33aeec6ae90a0a2952e76a811.zip
nixos/cgit: mention filters in configText example
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/web-servers/lighttpd/cgit.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/web-servers/lighttpd/cgit.nix b/nixos/modules/services/web-servers/lighttpd/cgit.nix
index e6a054c296d..4ec4a5a3359 100644
--- a/nixos/modules/services/web-servers/lighttpd/cgit.nix
+++ b/nixos/modules/services/web-servers/lighttpd/cgit.nix
@@ -44,6 +44,8 @@ in
       example = ''
         cache-size=1000
         scan-path=/srv/git
+        source-filter=''${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py
+        about-filter=''${pkgs.cgit}/lib/cgit/filters/about-formatting.sh
       '';
       type = types.lines;
       description = ''