nix: simplify direnv integration

Rely on my having installed `nix-direnv`.
This commit is contained in:
Bruno BELANYI 2024-11-23 19:01:09 +00:00
parent 741bb33544
commit 13dd7b4346

6
.envrc
View file

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