about summary refs log tree commit diff
path: root/.envrc
blob: a5674659a027b4edcc60f32c643abcb3979b8e5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if has nix; then
    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
    nix_direnv_watch_file ./shell.nix
    use flake .
fi
export RUST_LOG="kittybox=trace,sqlx=trace,tower_http::trace=debug,info"
export BACKEND_URI="postgres://localhost?dbname=kittybox&host=/run/postgresql"
export JOB_QUEUE_URI="postgres://localhost?dbname=kittybox&host=/run/postgresql"
export BLOBSTORE_URI=file://./media-store
export AUTH_STORE_URI=file://./auth-store
export COOKIE_SECRET=1234567890abcdefghijklmnopqrstuvwxyz