services.patroni.postgresqlDataDir
NixOS option
The data directory for PostgreSQL. If left as the default value this directory will automatically be created before the PostgreSQL server starts, otherwise the sysadmin is responsible for ensuring the directory exists with appropriate ownership and permissions.
type: absolute pathDefault
"/var/lib/postgresql/${config.services.patroni.postgresqlPackage.psqlSchema}"Example
declared in: nixos/modules/services/cluster/patroni/default.nixView source on NixOS/nixpkgs →"/var/lib/postgresql/14"