services.prometheus.exporters.pve.environmentFile

NixOS option

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 in: nixos/modules/services/monitoring/prometheus/exporters.nixView source on NixOS/nixpkgs →