···54 type = types.attrsOf types.str;
55 default = {};
56 example = {
57- h = "noaction 5\e(";
58- l = "noaction 5\e)";
59 };
60 description = "Defines new command keys.";
61 };
···54 type = types.attrsOf types.str;
55 default = {};
56 example = {
57+ h = "noaction 5\\e(";
58+ l = "noaction 5\\e)";
59 };
60 description = "Defines new command keys.";
61 };
+1-1
nixos/modules/services/mail/rspamd.nix
···68 replaced with <literal>rspamd_proxy</literal>.
69 '';
70 apply = let
71- from = "services.rspamd.workers.\”${name}\".type";
72 files = options.type.files;
73 warning = "The option `${from}` defined in ${showFiles files} has enum value `proxy` which has been renamed to `rspamd_proxy`";
74 in x: if x == "proxy" then traceWarning warning "rspamd_proxy" else x;
···68 replaced with <literal>rspamd_proxy</literal>.
69 '';
70 apply = let
71+ from = "services.rspamd.workers.\"${name}\".type";
72 files = options.type.files;
73 warning = "The option `${from}` defined in ${showFiles files} has enum value `proxy` which has been renamed to `rspamd_proxy`";
74 in x: if x == "proxy" then traceWarning warning "rspamd_proxy" else x;
+1-1
nixos/modules/services/monitoring/graphite.nix
···239 description = "Any metrics received which match one of the experssions will be dropped.";
240 default = null;
241 type = types.nullOr types.str;
242- example = "^some\.noisy\.metric\.prefix\..*";
243 };
244245 whitelist = mkOption {
···239 description = "Any metrics received which match one of the experssions will be dropped.";
240 default = null;
241 type = types.nullOr types.str;
242+ example = "^some\\.noisy\\.metric\\.prefix\\..*";
243 };
244245 whitelist = mkOption {
···105 default = null;
106 example = {
107 serverAliases = [
108- "matomo.$\{config.networking.domain\}"
109- "stats.$\{config.networking.domain\}"
110 ];
111 enableACME = false;
112 };
···115 Either this option or the webServerUser option is mandatory.
116 Set this to {} to just enable the virtualHost if you don't need any customization.
117 If enabled, then by default, the <option>serverName</option> is
118- <literal>${user}.$\{config.networking.hostName\}.$\{config.networking.domain\}</literal>,
119 SSL is active, and certificates are acquired via ACME.
120 If this is set to null (the default), no nginx virtualHost will be configured.
121 '';
···275 fastcgi_pass unix:${phpSocket};
276 '';
277 # Any other attempt to access any php files is forbidden
278- locations."~* ^.+\.php$".extraConfig = ''
279 return 403;
280 '';
281 # Disallow access to unneeded directories
···284 return 403;
285 '';
286 # Disallow access to several helper files
287- locations."~* \.(?:bat|git|ini|sh|txt|tpl|xml|md)$".extraConfig = ''
288 return 403;
289 '';
290 # No crawling of this site for bots that obey robots.txt - no useful information here.
···105 default = null;
106 example = {
107 serverAliases = [
108+ "matomo.\${config.networking.domain}"
109+ "stats.\${config.networking.domain}"
110 ];
111 enableACME = false;
112 };
···115 Either this option or the webServerUser option is mandatory.
116 Set this to {} to just enable the virtualHost if you don't need any customization.
117 If enabled, then by default, the <option>serverName</option> is
118+ <literal>''${user}.''${config.networking.hostName}.''${config.networking.domain}</literal>,
119 SSL is active, and certificates are acquired via ACME.
120 If this is set to null (the default), no nginx virtualHost will be configured.
121 '';
···275 fastcgi_pass unix:${phpSocket};
276 '';
277 # Any other attempt to access any php files is forbidden
278+ locations."~* ^.+\\.php$".extraConfig = ''
279 return 403;
280 '';
281 # Disallow access to unneeded directories
···284 return 403;
285 '';
286 # Disallow access to several helper files
287+ locations."~* \\.(?:bat|git|ini|sh|txt|tpl|xml|md)$".extraConfig = ''
288 return 403;
289 '';
290 # No crawling of this site for bots that obey robots.txt - no useful information here.