feat: faster flakes with direnv

This commit is contained in:
Kyle Brown 2023-10-15 10:12:55 -07:00
parent 58a7612b0a
commit 1c61854a11

View file

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