1 2 3 4 5 6
use_flake() { watch_file flake.nix watch_file flake.lock eval "$(nix print-dev-env)" } use flake