services.prometheus.exporters.mqtt.environmentFile

File to load as environment file. Useful for e.g. setting MQTT_PASSWORD without putting any secrets into the Nix store.

Type
null or absolute path
Default
null
Example
[
  "/run/secrets/mqtt-exporter"
]
Declared
<nixpkgs/nixos/modules/services/monitoring/prometheus/exporters.nix>