diff --git a/nixos/modules/services/monitoring/prometheus/alertmanager.nix b/nixos/modules/services/monitoring/prometheus/alertmanager.nix index bb426d8b7beb..a96cc8d96be8 100644 --- a/nixos/modules/services/monitoring/prometheus/alertmanager.nix +++ b/nixos/modules/services/monitoring/prometheus/alertmanager.nix @@ -51,6 +51,9 @@ in { default = null; description = lib.mdDoc '' Alertmanager configuration as nix attribute set. + + The contents of the resulting config file are processed using envsubst. + `$` needs to be escaped as `$$` to be preserved. ''; }; @@ -62,6 +65,9 @@ in { defines the text that is written to alertmanager.yml. If null, the contents of alertmanager.yml is generated from the structured config options. + + The contents of the resulting config file are processed using envsubst. + `$` needs to be escaped as `$$` to be preserved. ''; };