nixos/lighttpd: improve sub-service option types (cgit, gitweb)
This commit is contained in:
parent
35ebc72f1c
commit
162cb556f6
@ -29,7 +29,7 @@ in
|
|||||||
cache-size=1000
|
cache-size=1000
|
||||||
scan-path=/srv/git
|
scan-path=/srv/git
|
||||||
'';
|
'';
|
||||||
type = types.string;
|
type = types.lines;
|
||||||
description = ''
|
description = ''
|
||||||
Verbatim contents of the cgit runtime configuration file. Documentation
|
Verbatim contents of the cgit runtime configuration file. Documentation
|
||||||
(with cgitrc example file) is available in "man cgitrc". Or online:
|
(with cgitrc example file) is available in "man cgitrc". Or online:
|
||||||
|
@ -25,7 +25,7 @@ in
|
|||||||
|
|
||||||
projectroot = mkOption {
|
projectroot = mkOption {
|
||||||
default = "/srv/git";
|
default = "/srv/git";
|
||||||
type = types.str;
|
type = types.path;
|
||||||
description = ''
|
description = ''
|
||||||
Path to git projects (bare repositories) that should be served by
|
Path to git projects (bare repositories) that should be served by
|
||||||
gitweb. Must not end with a slash.
|
gitweb. Must not end with a slash.
|
||||||
@ -34,7 +34,7 @@ in
|
|||||||
|
|
||||||
extraConfig = mkOption {
|
extraConfig = mkOption {
|
||||||
default = "";
|
default = "";
|
||||||
type = types.str;
|
type = types.lines;
|
||||||
description = ''
|
description = ''
|
||||||
Verbatim configuration text appended to the generated gitweb.conf file.
|
Verbatim configuration text appended to the generated gitweb.conf file.
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user