services.prometheus.exporters.pve.environmentFile

Path to the service's environment file. This path can either be a computed path in /nix/store or a path in the local filesystem.

The environment file should NOT be stored in /nix/store as it contains passwords and/or keys in plain text.

Environment reference: https://github.com/prometheus-pve/prometheus-pve-exporter#authentication

Type
null or absolute path
Default
null
Example
"/etc/prometheus-pve-exporter/pve.env"
Declared
<nixpkgs/nixos/modules/services/monitoring/prometheus/exporters.nix>