diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-07-23 22:18:37 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-07-23 22:18:37 +0200 |
commit | 162cb556f6c54403c87df698a4785d41875c0132 (patch) | |
tree | 9cdf2cbd71caee0e42cac7c2b6a820769fc1510a /nixos/modules/services/web-servers/lighttpd | |
parent | 35ebc72f1cedfdceeec0dd7ef8df7378970d518d (diff) | |
download | nixlib-162cb556f6c54403c87df698a4785d41875c0132.tar nixlib-162cb556f6c54403c87df698a4785d41875c0132.tar.gz nixlib-162cb556f6c54403c87df698a4785d41875c0132.tar.bz2 nixlib-162cb556f6c54403c87df698a4785d41875c0132.tar.lz nixlib-162cb556f6c54403c87df698a4785d41875c0132.tar.xz nixlib-162cb556f6c54403c87df698a4785d41875c0132.tar.zst nixlib-162cb556f6c54403c87df698a4785d41875c0132.zip |
nixos/lighttpd: improve sub-service option types (cgit, gitweb)
Diffstat (limited to 'nixos/modules/services/web-servers/lighttpd')
-rw-r--r-- | nixos/modules/services/web-servers/lighttpd/cgit.nix | 2 | ||||
-rw-r--r-- | nixos/modules/services/web-servers/lighttpd/gitweb.nix | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/web-servers/lighttpd/cgit.nix b/nixos/modules/services/web-servers/lighttpd/cgit.nix index dbff565bd8a3..d4663781fd84 100644 --- a/nixos/modules/services/web-servers/lighttpd/cgit.nix +++ b/nixos/modules/services/web-servers/lighttpd/cgit.nix @@ -29,7 +29,7 @@ in cache-size=1000 scan-path=/srv/git ''; - type = types.string; + type = types.lines; description = '' Verbatim contents of the cgit runtime configuration file. Documentation (with cgitrc example file) is available in "man cgitrc". Or online: diff --git a/nixos/modules/services/web-servers/lighttpd/gitweb.nix b/nixos/modules/services/web-servers/lighttpd/gitweb.nix index d49278be09a8..c407a1d89778 100644 --- a/nixos/modules/services/web-servers/lighttpd/gitweb.nix +++ b/nixos/modules/services/web-servers/lighttpd/gitweb.nix @@ -25,7 +25,7 @@ in projectroot = mkOption { default = "/srv/git"; - type = types.str; + type = types.path; description = '' Path to git projects (bare repositories) that should be served by gitweb. Must not end with a slash. @@ -34,7 +34,7 @@ in extraConfig = mkOption { default = ""; - type = types.str; + type = types.lines; description = '' Verbatim configuration text appended to the generated gitweb.conf file. ''; |