services.prometheus.alertmanager.environmentFile
NixOS option
File to load as environment file. Environment variables from this file will be interpolated into the config file using envsubst with this syntax: $ENVIRONMENT ${VARIABLE}
type: null or absolute pathDefault
null
Example
declared in: nixos/modules/services/monitoring/prometheus/alertmanager.nixView source on NixOS/nixpkgs →"/root/alertmanager.env"