services.patroni.environmentFiles
NixOS option
Environment variables made available to Patroni as files content, useful for providing secrets from files.
type: attribute set of (null or string or absolute path or package)Default
{ }Example
declared in: nixos/modules/services/cluster/patroni/default.nixView source on NixOS/nixpkgs →{
PATRONI_REPLICATION_PASSWORD = "/secret/file";
PATRONI_SUPERUSER_PASSWORD = "/secret/file";
}