load .env in dev shell

This commit is contained in:
Jan Bader
2026-04-04 20:51:10 +02:00
parent 0163767dd1
commit 1c719f4381

View File

@@ -33,6 +33,12 @@
];
shellHook = ''
if [ -f .env ]; then
set -a
. ./.env
set +a
fi
export PLAYWRIGHT_BROWSERS_PATH=${pkgs.playwright-driver.browsers}
export PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS=true
export PLAYWRIGHT_HOST_PLATFORM_OVERRIDE="ubuntu-24.04"