lol

nixos/lighttpd-service: don't use types.string (it's deprecated)

+3 -3
+3 -3
nixos/modules/services/web-servers/lighttpd/default.nix
··· 102 103 document-root = mkOption { 104 default = "/srv/www"; 105 - type = types.str; 106 description = '' 107 Document-root of the web server. Must be readable by the "lighttpd" user. 108 ''; ··· 128 129 configText = mkOption { 130 default = ""; 131 - type = types.string; 132 example = ''...verbatim config file contents...''; 133 description = '' 134 Overridable config file contents to use for lighttpd. By default, use ··· 138 139 extraConfig = mkOption { 140 default = ""; 141 - type = types.string; 142 description = '' 143 These configuration lines will be appended to the generated lighttpd 144 config file. Note that this mechanism does not work when the manual
··· 102 103 document-root = mkOption { 104 default = "/srv/www"; 105 + type = types.path; 106 description = '' 107 Document-root of the web server. Must be readable by the "lighttpd" user. 108 ''; ··· 128 129 configText = mkOption { 130 default = ""; 131 + type = types.lines; 132 example = ''...verbatim config file contents...''; 133 description = '' 134 Overridable config file contents to use for lighttpd. By default, use ··· 138 139 extraConfig = mkOption { 140 default = ""; 141 + type = types.lines; 142 description = '' 143 These configuration lines will be appended to the generated lighttpd 144 config file. Note that this mechanism does not work when the manual