[Nix-dev] Sharing Nix store between systems

Tyson Whitehead twhitehead at gmail.com
Wed Apr 29 20:03:08 CEST 2015


I'm looking to setup a shared nix store for our HPC clusters.  Googling for a shared store only gives a brief discussion back at the end of 2011

http://lists.science.uu.nl/pipermail/nix-dev/2011-December/007381.html

My current plan of attack (informed by that thread) is to setup a sever (hereafter the "nix server") running the nix daemon that exports

- a read-only version of the store
- a read/write version of the gcroots and profiles directories

Machines that mount the store and gcroots/profiles would then be set to forward the nix daemon socket to the nix server.

At some point I could extend this to do distributed builds by setting the nix server up with the standard build hook.

Cheers!  -Tyson


More information about the nix-dev mailing list