feat: read secrets from env/file

This commit is contained in:
Moritz Böhme 2025-04-17 09:39:38 +02:00
parent e25fc5ed64
commit 0c721e9296
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
3 changed files with 66 additions and 4 deletions

View file

@ -41,6 +41,11 @@
]);
shellHook = ''
export OIDC_CLIENT_ID="putzplan"
export OIDC_BASE_URL="http://127.0.0.1:9091"
export OIDC_CLIENT_SECRET_FILE="${pkgs.writeText "client_secret" "insecure_secret"}"
export OIDC_REDIRECT_URI="http://127.0.0.1:4000/auth"
# allows mix to work on the local directory
mkdir -p .nix/{mix,hex}
export MIX_HOME=$PWD/.nix/mix