From b05870d2232729c823c0c8daac92bf608a2a2c95 Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 25 Jun 2019 02:01:16 +0200 Subject: [PATCH] nixos/cgit: fix config example The order of the keys matters: scan-path must be the last key for other settings to be taken into account. --- nixos/modules/services/web-servers/lighttpd/cgit.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/web-servers/lighttpd/cgit.nix b/nixos/modules/services/web-servers/lighttpd/cgit.nix index 4ec4a5a3359..9f25dc34f3f 100644 --- a/nixos/modules/services/web-servers/lighttpd/cgit.nix +++ b/nixos/modules/services/web-servers/lighttpd/cgit.nix @@ -42,10 +42,10 @@ in configText = mkOption { default = ""; 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 + cache-size=1000 + scan-path=/srv/git ''; type = types.lines; description = ''