nix-darwin
nix-darwin copied to clipboard
fix: postgresql service initdb
--pgdata/-D option is missing and without it database cannot be initialised.
I've changed this branch to use PGDATA environment variable instead of -D flag to match the upstream NixOS module, but it's untested.
I'll merge this PR if someone could test this for me