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 120a42f1b0
commit eb9c25af5a

6
.envrc
View file

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