nixos/alertmanager: provide example of envsubst usage

This commit is contained in:
Yorick van Pelt
2020-01-24 18:07:24 +01:00
parent 23d5d9bbe9
commit ed6e4a936c

View File

@@ -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>
'';
};
};