mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
nixos/telegraf: improve documentation
This commit is contained in:
@@ -25,10 +25,9 @@ in {
|
||||
default = [];
|
||||
example = "/run/keys/telegraf.env";
|
||||
description = ''
|
||||
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>
|
||||
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</literal> or <literal>''${VARIABLE}</literal>.
|
||||
This is useful to avoid putting secrets into the nix store.
|
||||
'';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user