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
@@ -133,8 +133,10 @@ in {
default = null; default = null;
example = "/root/alertmanager.env"; example = "/root/alertmanager.env";
description = '' description = ''
File to load as environment file. Useful to insert secrets File to load as environment file. Environment variables
into the configuration (via envsubst). from this file will be interpolated into the config file
using envsubst with this syntax:
<literal>$ENVIRONMENT ''${VARIABLE}</literal>
''; '';
}; };
}; };