I’m using the yadm dotfile manager, and I’d like to include it in my flake inputs for my config. It stores the files being managed in a bare git repo in ~/.local/share/yadm/repo.git, with the config directory at ~/.config/yadm and the working directory (-C) being the user’s home directory.
However, git+file:///root?dir=.config/yadm and git+file:///root/.local/share/yadm/repo.git?dir=.config/yadm cannot seem to find the flake at .config/yadm/flake.nix, despite it being added to the yadm repo and the changes being comitted.
What url do I have to use to use a bare repo with a flake.nix not in the root of the repository, if this setup is even possible?