···5454 type = types.attrsOf types.str;
5555 default = {};
5656 example = {
5757- h = "noaction 5\e(";
5858- l = "noaction 5\e)";
5757+ h = "noaction 5\\e(";
5858+ l = "noaction 5\\e)";
5959 };
6060 description = "Defines new command keys.";
6161 };
+1-1
nixos/modules/services/mail/rspamd.nix
···6868 replaced with <literal>rspamd_proxy</literal>.
6969 '';
7070 apply = let
7171- from = "services.rspamd.workers.\”${name}\".type";
7171+ from = "services.rspamd.workers.\"${name}\".type";
7272 files = options.type.files;
7373 warning = "The option `${from}` defined in ${showFiles files} has enum value `proxy` which has been renamed to `rspamd_proxy`";
7474 in x: if x == "proxy" then traceWarning warning "rspamd_proxy" else x;
+1-1
nixos/modules/services/monitoring/graphite.nix
···239239 description = "Any metrics received which match one of the experssions will be dropped.";
240240 default = null;
241241 type = types.nullOr types.str;
242242- example = "^some\.noisy\.metric\.prefix\..*";
242242+ example = "^some\\.noisy\\.metric\\.prefix\\..*";
243243 };
244244245245 whitelist = mkOption {
···105105 default = null;
106106 example = {
107107 serverAliases = [
108108- "matomo.$\{config.networking.domain\}"
109109- "stats.$\{config.networking.domain\}"
108108+ "matomo.\${config.networking.domain}"
109109+ "stats.\${config.networking.domain}"
110110 ];
111111 enableACME = false;
112112 };
···115115 Either this option or the webServerUser option is mandatory.
116116 Set this to {} to just enable the virtualHost if you don't need any customization.
117117 If enabled, then by default, the <option>serverName</option> is
118118- <literal>${user}.$\{config.networking.hostName\}.$\{config.networking.domain\}</literal>,
118118+ <literal>''${user}.''${config.networking.hostName}.''${config.networking.domain}</literal>,
119119 SSL is active, and certificates are acquired via ACME.
120120 If this is set to null (the default), no nginx virtualHost will be configured.
121121 '';
···275275 fastcgi_pass unix:${phpSocket};
276276 '';
277277 # Any other attempt to access any php files is forbidden
278278- locations."~* ^.+\.php$".extraConfig = ''
278278+ locations."~* ^.+\\.php$".extraConfig = ''
279279 return 403;
280280 '';
281281 # Disallow access to unneeded directories
···284284 return 403;
285285 '';
286286 # Disallow access to several helper files
287287- locations."~* \.(?:bat|git|ini|sh|txt|tpl|xml|md)$".extraConfig = ''
287287+ locations."~* \\.(?:bat|git|ini|sh|txt|tpl|xml|md)$".extraConfig = ''
288288 return 403;
289289 '';
290290 # No crawling of this site for bots that obey robots.txt - no useful information here.
···80808181 postInstall = "
8282 rpath=`patchelf --print-rpath \$out/bin/kino`;
8383- for i in $\buildInputs; do
8383+ for i in $buildInputs; do
8484 echo adding \$i/lib
8585 rpath=\$rpath\${rpath:+:}\$i/lib
8686 done