direnv: Use nix-direnv’s use_flake

This commit is contained in:
Simon Bruder 2021-05-09 12:34:48 +02:00
parent 675f55e61f
commit d2d2a7234f
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

5
.envrc
View file

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