direnv: init

This commit is contained in:
Grigory Shipunov 2021-10-22 13:26:44 +02:00
parent 5a862395e6
commit a04dadf4ea
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C

View file

@ -0,0 +1,5 @@
use_flake() {
watch_file flake.nix
watch_file flake.lock
eval "$(nix print-dev-env --profile "$(direnv_layout_dir)/flake-profile")"
}