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 b4762ccf9f
commit 811c14b6ef

6
.envrc
View file

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