You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if you could run the Nix worker daemon in slave mode on computer A, where it would delegate all Nix operations to the Nix worker running on another computer B. The Nix store (and maybe the database too) from B should be mounted read-only with NFS, CIFS or VIRTFS/9P on computer A, and no copying of paths should take place.
You can do this today, by just mounting the store from computer B on computer A and then perform all Nix builds on computer B (or even do a hack with socat that tunnels all Nix socket operations from A to B). However, then you can't use nix-build, nix-env or nixos-rebuild properly on computer A. I imagine a Nix slave mode could solve this quite easily.
The use case is to be able to share a Nix store between several computers (saving disk space and keep mutable parts down), but still be able to "local" builds. It is also very useful for virtual machines, where it is particularly nice to share the Nix store with the host instead of filling up disk images.
I think that #7890 (which is being implemented by @mupdt) would more or less fulfill the use case described in this issue. So this 10 year old issue can probably be closed.
Activity
stale commentedon Feb 15, 2021
I marked this as stale due to inactivity. → More info
Ericson2314 commentedon Feb 24, 2021
We have
NIX_REMOTE=ssh-ng://...for just setting a remote store as the default. I would say the remote store mounting part is quite unrelated to that?stale commentedon Aug 24, 2021
I marked this as stale due to inactivity. → More info
rickynils commentedon Aug 31, 2023
I think that #7890 (which is being implemented by @mupdt) would more or less fulfill the use case described in this issue. So this 10 year old issue can probably be closed.
Merge pull request NixOS#139 from DeterminateSystems/remove-dead
v3 BEAT_TW NixOS#134 (M2): ImportCache eviction RE-FALSIFIED — arena-…
v3 BEAT_TW NixOS#139 (M2'): MALLOC_SMALL CU-shrink RCA — modest/found…
v3 BEAT_TW NixOS#136 (M3): arena page-release KILLED by direct measur…
v3 BEAT_TW NixOS#132 (P0.2): WARM (cache-on) head-to-head — productio…
v3 M1.D: malloc-reclaim probe — KILLS the "reclaimable frag" hypothes…
v3 WS5-D2 design: consume AOT mmap in place (cross-process CU sharing)
v3 WS-5 B2: canonical AOT symbol/pos table (D2a-full) + LambdaDescrip…
tomberek commentedon Aug 13, 2026
Closing as stale. Re-open if needed.