mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 14:19:58 +03:00
nixos/alertmanager: provide example of envsubst usage
This commit is contained in:
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>
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user