chore: add direnv and nix-use support

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-03-26 15:12:56 -03:00
parent a5e294608f
commit ba3497e0cf
2 changed files with 5 additions and 0 deletions

4
.envrc Normal file
View File

@@ -0,0 +1,4 @@
if ! has nix_direnv_version || ! nix_direnv_version 3.0.4; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4="
fi
use flake

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
/target
.vault-backup/
.direnv