- use_flake() {
- watch_file flake.lock
- watch_file flake.nix
- watch_file cells/repo/devshells.nix
- watch_file cells/repo/configs.nix
- mkdir -p $(direnv_layout_dir)
- eval "$(nix print-dev-env \
- --profile "$(direnv_layout_dir)/flake-profile" \
- --option builders "")"
- }
- use flake
|