services.prometheus.exporters.mqtt.environmentFile

NixOS option

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 in: nixos/modules/services/monitoring/prometheus/exporters.nixView source on NixOS/nixpkgs →