option

services.telegraf.environmentFiles

File to load as environment file. This is useful to avoid putting secrets into the nix store.

Declarations
Type
list of (path)
Default
[ ]
Example
[
  "/run/keys/telegraf.env"
]