added nix shell + moved creds to separate file
This commit is contained in:
parent
c9e937fe10
commit
5b88c53165
3 changed files with 15 additions and 48 deletions
12
shell.nix
Normal file
12
shell.nix
Normal 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
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue