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.
This commit is contained in:
parent
525f0b0436
commit
b05870d223
@ -42,10 +42,10 @@ in
|
|||||||
configText = mkOption {
|
configText = mkOption {
|
||||||
default = "";
|
default = "";
|
||||||
example = ''
|
example = ''
|
||||||
cache-size=1000
|
|
||||||
scan-path=/srv/git
|
|
||||||
source-filter=''${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py
|
source-filter=''${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py
|
||||||
about-filter=''${pkgs.cgit}/lib/cgit/filters/about-formatting.sh
|
about-filter=''${pkgs.cgit}/lib/cgit/filters/about-formatting.sh
|
||||||
|
cache-size=1000
|
||||||
|
scan-path=/srv/git
|
||||||
'';
|
'';
|
||||||
type = types.lines;
|
type = types.lines;
|
||||||
description = ''
|
description = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user