nix: add 'direnv' integration

This commit is contained in:
Bruno BELANYI 2021-03-29 18:06:44 +00:00
parent 4ceeb5e4fe
commit a58f712181

7
.envrc Normal file
View file

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