chore: add direnv

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
Mark Sagi-Kazar 2021-11-14 13:25:04 +01:00
parent 1bfb1ab757
commit ee76923443
No known key found for this signature in database
GPG Key ID: 31AB0439F4C5C90E
2 changed files with 7 additions and 0 deletions

6
.envrc Normal file
View File

@ -0,0 +1,6 @@
if ! has nix_direnv_version || ! nix_direnv_version 1.5.0; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/1.5.0/direnvrc" "sha256-carKk9aUFHMuHt+IWh74hFj58nY4K3uywpZbwXX0BTI="
fi
use flake
dotenv_if_exists

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/.direnv/
/.idea/ /.idea/
/bin/ /bin/
/docker-compose.override.yaml /docker-compose.override.yaml