I’m wondering about the possibility of specifying in a flake.nix file the location of a binary cache that will house the outputs of that flake. That way if someone uses
nix build github:foo/bar#package it will automatically check that cache (without the user adding it).
Of course, there may be issues with this model that I’m not thinking of. I imagine there might be security concerns? If I’m evaluating a flake I have to already trust that flake, but I guess it would make auditing more difficult (I can’t just check the contents of the flake and the source code, I would have to check the cache, and I don’t know if that’s even possible without compiling the whole thing yourself anyways)
Thoughts? Is this already possible somehow?