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 43650ade44
commit d62a8befcd

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