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 pathDefault
null
Example
declared in: nixos/modules/services/monitoring/prometheus/exporters.nixView source on NixOS/nixpkgs →[ "/run/secrets/mqtt-exporter" ]