diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-07-23 22:12:38 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-07-23 22:12:38 +0200 |
commit | 35ebc72f1cedfdceeec0dd7ef8df7378970d518d (patch) | |
tree | babcdb6260d83c42a5df32ff25929e52473fd8de /nixos/modules/services/web-servers/lighttpd | |
parent | 0031a036ca6a32bc380c7b52c5e4de8fc142373c (diff) | |
download | nixlib-35ebc72f1cedfdceeec0dd7ef8df7378970d518d.tar nixlib-35ebc72f1cedfdceeec0dd7ef8df7378970d518d.tar.gz nixlib-35ebc72f1cedfdceeec0dd7ef8df7378970d518d.tar.bz2 nixlib-35ebc72f1cedfdceeec0dd7ef8df7378970d518d.tar.lz nixlib-35ebc72f1cedfdceeec0dd7ef8df7378970d518d.tar.xz nixlib-35ebc72f1cedfdceeec0dd7ef8df7378970d518d.tar.zst nixlib-35ebc72f1cedfdceeec0dd7ef8df7378970d518d.zip |
nixos/lighttpd-service: don't use types.string (it's deprecated)
Diffstat (limited to 'nixos/modules/services/web-servers/lighttpd')
-rw-r--r-- | nixos/modules/services/web-servers/lighttpd/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/web-servers/lighttpd/default.nix b/nixos/modules/services/web-servers/lighttpd/default.nix index 3ba934c72bf8..f0f59a664026 100644 --- a/nixos/modules/services/web-servers/lighttpd/default.nix +++ b/nixos/modules/services/web-servers/lighttpd/default.nix @@ -102,7 +102,7 @@ in document-root = mkOption { default = "/srv/www"; - type = types.str; + type = types.path; description = '' Document-root of the web server. Must be readable by the "lighttpd" user. ''; @@ -128,7 +128,7 @@ in configText = mkOption { default = ""; - type = types.string; + type = types.lines; example = ''...verbatim config file contents...''; description = '' Overridable config file contents to use for lighttpd. By default, use @@ -138,7 +138,7 @@ in extraConfig = mkOption { default = ""; - type = types.string; + type = types.lines; description = '' These configuration lines will be appended to the generated lighttpd config file. Note that this mechanism does not work when the manual |