nix: add direnv integration

This commit is contained in:
Bruno BELANYI 2021-05-28 18:25:01 +02:00
parent a57a6d38bd
commit a45ffc71ad

8
.envrc Normal file
View file

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