12 lines
491 B
Bash
12 lines
491 B
Bash
if ! has nix_direnv_version || ! nix_direnv_version 2.1.1; then
|
|
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.1.1/direnvrc" "sha256-b6qJ4r34rbE23yWjMqbmu3ia2z4b2wIlZUksBke/ol0="
|
|
fi
|
|
use flake
|
|
|
|
export REGALADE_JWT_SECRET=B50D8FB3A6DC3073259062EFFD03A283416A81ED3183C44DEE179AFF76C00B58
|
|
export REGALADE_DATABASE_URL=postgres://traxys/regalade?host=/var/run/postgresql
|
|
export DATABASE_URL=$REGALADE_DATABASE_URL
|
|
|
|
if [[ -f secrets.sh ]]; then
|
|
source secrets.sh
|
|
fi
|