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