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
No known key found for this signature in database
GPG Key ID: A36E70F9DC014A15

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