MyNixOS website logo
option

services.mqtt2influxdb.environmentFiles

File to load as environment file. Environment variables from this file will be interpolated into the config file using envsubst with this syntax: $ENVIRONMENT or ${VARIABLE}. This is useful to avoid putting secrets into the nix store.

Declarations
Type
list of path
Default
[ ]
Example
[
  "/run/keys/mqtt2influxdb.env"
]