services.traefik.useEnvSubst

Whether to use envSubst in the ExecStartPre phase to augment the generated static config. See services.traefik.environmentFiles.

If you use environment files with Traefik but do not utilise environment variables in the static config, this can safely be disabled to reduce startup time.

Type
boolean
Default
"config.services.traefik.environmentFiles != [ ]"
Example
true
Declared
<nixpkgs/nixos/modules/services/web-servers/traefik.nix>