mirror of
https://github.com/nais/wonderwall.git
synced 2026-05-20 23:32:57 +00:00
15 lines
378 B
Bash
15 lines
378 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Export all:
|
|
# - (should be) .gitignored
|
|
# - (potentially) secret environment variables
|
|
# - from dotenv-formatted files w/names starting w/`.env`
|
|
DOTENV_FILES="$(find . -maxdepth 1 -type f -name '.env*' -and -not -name '.envrc')"
|
|
for file in ${DOTENV_FILES}; do
|
|
dotenv "${file}"
|
|
done
|
|
export DOTENV_FILES
|
|
|
|
# Load nix env for all the cool people
|
|
use flake
|