MyNixOS website logo
option

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.

Declarations
Type
null or path
Default
null
Example
[
  "/run/secrets/mqtt-exporter"
]