nix: add direnv integration

This commit is contained in:
Bruno BELANYI 2021-10-08 14:31:01 +02:00
parent 3695e15792
commit 183e0a4e31
1 changed files with 7 additions and 0 deletions

7
.envrc Normal file
View File

@ -0,0 +1,7 @@
use_flake() {
watch_file flake.nix
watch_file flake.lock
eval "$(nix print-dev-env)"
}
use flake