added nix shell + moved creds to separate file

This commit is contained in:
eyjhb 2025-02-08 21:42:34 +01:00
parent c9e937fe10
commit 5b88c53165
Signed by: eyjhb
GPG key ID: 609F508E3239F920
3 changed files with 15 additions and 48 deletions

12
shell.nix Normal file
View file

@ -0,0 +1,12 @@
{ pkgs ? import <nixpkgs> {}, ... }:
pkgs.mkShell {
shellHook = ''
if [[ -f ".env" ]]; then
echo "Found .env file, sourcing it"
source .env
else
echo "No .env file found"
fi
'';
}