diff --git a/nixos/modules/services/monitoring/prometheus/alertmanager.nix b/nixos/modules/services/monitoring/prometheus/alertmanager.nix index 3c9ca6c7d376..2e8433fbc888 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: + $ENVIRONMENT ''${VARIABLE} ''; }; };