Can you provide the domestic agent address
What problem are you trying to solve?
Is your feature request related to a problem? Please describe. Now I rely on when I was in use devbox nix package management tools, download when walk is https://releases.nixos.org/ in China I can have any valid proxy address download speed, has been the timeout won't be able to download. The same is true when downloading packages.
I have raised this issue with the nix project, and the official reply is that devbox project is needed to help integrate domestic mirror, please check this issue
https://github.com/NixOS/infra/issues/488
What solution would you like?
I hope to be able to download the package smoothly in the domestic environment
Alternatives you've considered
No response
hi??
@yinmin2020 Devbox uses plain nix under the hood. So, you can follow the instructions from https://discourse.nixos.org/t/announcing-tuna-nix-mirror/6144 i.e. https://github.com/dramforever/mirror-web/blob/d7e263d4fe9a9e3078f819468cec18e1c11cf832/_posts/help/2019-02-17-nix.md
Does that work for you?
Changing the Nix substituter per the links above should help in some cases, but I think there need to be some Devbox changes too.
We hard-code cache.nixos.org in a bunch of places to download cached packages (in the generated flake, calls to nix path-info, etc.). It shouldn't be too hard to replace any references to the cache.nixos.org domain with the mirror though, we just need to decide on how that can be configured.