Replace builtins.toString with toString

This commit is contained in:
SebastianStork 2025-10-09 21:35:41 +02:00
parent c18caea0de
commit c3cfcf1b61
15 changed files with 24 additions and 24 deletions

View file

@ -35,7 +35,7 @@ let
import subdomain-log ${domain}
@${subdomainOf domain} host ${domain}
handle @${subdomainOf domain} {
reverse_proxy localhost:${builtins.toString port}
reverse_proxy localhost:${toString port}
}
'';
in
@ -48,7 +48,7 @@ let
logFormat = "output file ${config.services.caddy.logDir}/${domain}.log { mode 640 }";
extraConfig = ''
bind tailscale/${subdomainOf domain}
reverse_proxy localhost:${builtins.toString port}
reverse_proxy localhost:${toString port}
'';
};
in
@ -109,7 +109,7 @@ in
admin off
metrics { per_host }
'';
virtualHosts.":${builtins.toString cfg.metricsPort}" = {
virtualHosts.":${toString cfg.metricsPort}" = {
logFormat = "";
extraConfig = "metrics /metrics";
};