aboutsummaryrefslogtreecommitdiff
path: root/.envrc
diff options
context:
space:
mode:
Diffstat (limited to '.envrc')
-rw-r--r--.envrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/.envrc b/.envrc
new file mode 100644
index 0000000..015c979
--- /dev/null
+++ b/.envrc
@@ -0,0 +1,11 @@
+# Settings for ppq configuration
+export PPQ_POSTGRES_VERSION=15
+export PPQ_POSTGRES_DIR=$(expand_path postgres)
+export PPQ_POSTGRES_DATA_DIR=$(expand_path postgres/data)
+
+# Settings for libpq-based clients and postgres itself
+export PGDATA="${PPQ_POSTGRES_DATA_DIR}"
+export PGHOST="${PPQ_POSTGRES_DATA_DIR}"
+export PGUSER=postgres
+
+use nix