services.prometheus.exporters.yace.environmentFile
NixOS option
Path to an environment file, as defined in systemd.exec(5), used to pass AWS credentials (e.g. AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION) to the exporter without exposing them in the world-readable Nix store. Not needed on EC2 with an IMDS instance role.
type: null or absolute pathDefault
null
Example
declared in: nixos/modules/services/monitoring/prometheus/exporters.nixView source on NixOS/nixpkgs →"/run/secrets/yace.env"