aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/services/web-servers
diff options
context:
space:
mode:
authorpacien <pacien.trangirard@pacien.net>2019-06-25 02:01:16 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2019-06-26 19:59:31 +0200
commitb05870d2232729c823c0c8daac92bf608a2a2c95 (patch)
tree2ec1c806135685749f8bde1104a6825447b4c4bc /nixos/modules/services/web-servers
parent525f0b043652cb62192874054d7aca5843d45e8f (diff)
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.
Diffstat (limited to 'nixos/modules/services/web-servers')
-rw-r--r--nixos/modules/services/web-servers/lighttpd/cgit.nix4
1 files 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 = ''