How to use Postgres with NixOS

Global NixOS Manual

Per proj

Edit: looks like I only read the title and the first part of your post. try createdb efore using psql.

1 Like