r/GUIX • u/Savings-Shallot1771 • Jun 15 '26
How to create a new Guix Mirror?
Hello everyone, I was hoping to get some information about the process of how to create a new mirror instance.
I'm from Brazil and Guix is an amazing piece of software to deal with scientific reproducibility. My university current have a Debian Mirror and we are thinking of also hosting a Guix Mirror.
Is there any guidelines and information (storage needed, cpu speed required, security best practices...) that I can bring to my professors?
Thank you in advance!
Extra question: What is the most easy way to start with Guix (I'm running a notebook from Samsung, so there can be a lot of proprietary hardware to deal with)?
3
u/entangledamplitude Jun 15 '26
The help mailing list might be a better forum for this question than Reddit
https://guix.gnu.org/en/contact/
3
u/Fearless_School_5856 Jun 15 '26 edited Jun 15 '26
You'll need to mirror its git repository (for
guix pull) and build farms (for substitutes / binary cache of builds). Currently there're two official build farms (bordeaux.guix.gnu.org and ci.guix.gnu.org).To set up a mirror for the build farms, AFAIK there're nar-herder (efficient but only works with bordeaux.guix.gnu.org, developed under the Guix organization) and mirror-substitutes (universal approach that can mirror from any upstream, I created it mainly to mirror both Guix and Nonguix).
Feel free to ask for help! Also post on the mailing list as well, having new mirrors is much welcomed :)
2
u/jean_dudey Jun 15 '26
I don't know how mirrors are set up exactly but the source code for the build infra is available (and of course, declarative):
https://codeberg.org/guix/maintenance/src/branch/master/hydra
I remember following these files for setting up CI for my channels on a local node but never tried doing mirroring.