diff options
-rw-r--r-- | nixos/modules/services/monitoring/prometheus/alertmanager.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/alertmanager.nix b/nixos/modules/services/monitoring/prometheus/alertmanager.nix index 3c9ca6c7d37..2e8433fbc88 100644 --- a/nixos/modules/services/monitoring/prometheus/alertmanager.nix +++ b/nixos/modules/services/monitoring/prometheus/alertmanager.nix @@ -133,8 +133,10 @@ in { default = null; example = "/root/alertmanager.env"; description = '' - File to load as environment file. Useful to insert secrets - into the configuration (via envsubst). + File to load as environment file. Environment variables + from this file will be interpolated into the config file + using envsubst with this syntax: + <literal>$ENVIRONMENT ''${VARIABLE}</literal> ''; }; }; |