I wonder if some plugin could be created to use torrents and/or ipfs for caching.
filesystem engine of nix considers remote and local location as same, and does delta copy, gc, and other operations afaik of things. so it would require rewrite of some super robust core parts to work with ipfs.