Hey. so in my nixos flake i have some inputs on flakes or repos i made, but i have some of these repos locally downloaded on my machine, which makes me want to use the path instead of the git url, so is there a way to verify if the “global” path exists and use it and if it doesnt use the git repo instead?
here is a simple example using wallpapers repo:
{
inputs = {
wallpapers.flake = false;
wallpapers.url = "path:/home/user/Pictures/Wallpapers";
# wallpapers.url = "github:user/wallpapers";
};
}