diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2021-06-22 09:07:35 +0200 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2021-07-18 09:40:42 +0200 |
commit | c24fa221abfe606ccfde6d0aa73662385c9d3a77 (patch) | |
tree | 0768fb0382e4b7c0cc16ffa6a3f50f687425617c /nixos | |
parent | cc56dc078d9855e8ba5ba374f75235e9829d5754 (diff) | |
download | nixpkgs-c24fa221abfe606ccfde6d0aa73662385c9d3a77.tar nixpkgs-c24fa221abfe606ccfde6d0aa73662385c9d3a77.tar.gz nixpkgs-c24fa221abfe606ccfde6d0aa73662385c9d3a77.tar.bz2 nixpkgs-c24fa221abfe606ccfde6d0aa73662385c9d3a77.tar.lz nixpkgs-c24fa221abfe606ccfde6d0aa73662385c9d3a77.tar.xz nixpkgs-c24fa221abfe606ccfde6d0aa73662385c9d3a77.tar.zst nixpkgs-c24fa221abfe606ccfde6d0aa73662385c9d3a77.zip |
nixos/telegraf: improve documentation
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/monitoring/telegraf.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/nixos/modules/services/monitoring/telegraf.nix b/nixos/modules/services/monitoring/telegraf.nix index 176a1635b58..4046260c164 100644 --- a/nixos/modules/services/monitoring/telegraf.nix +++ b/nixos/modules/services/monitoring/telegraf.nix @@ -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. ''; }; |