# Sharing nix-portable store between multiple users

**URL:** https://discourse.nixos.org/t/sharing-nix-portable-store-between-multiple-users/36571
**Category:** Help
**Created:** [December 7, 2023, 7:57am UTC](https://discourse.nixos.org/t/sharing-nix-portable-store-between-multiple-users/36571 "2023-12-07T07:57:12Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![wamserma](https://discourse.nixos.org/user_avatar/discourse.nixos.org/wamserma/32/5353_2.png) [@wamserma](https://discourse.nixos.org/u/wamserma)
#### Post date: [December 7, 2023, 4:39pm UTC](https://discourse.nixos.org/t/sharing-nix-portable-store-between-multiple-users/36571/5 "2023-12-07T16:39:09Z")

</div>

@jacg

> [@NixOS with shared nix store among compute nodes](https://discourse.nixos.org/t/nixos-with-shared-nix-store-among-compute-nodes/33235):
>
> We managed to install NixOS on the compute nodes of a small HPC cluster and now we face the problem of how to run parallel jobs via SLURM in multiple nodes reading the same dependencies from the nix store. As far as I know there are only two options: The nix store is local per node and the clousures are distributed to the nodes before the execution begins. This seems to be the choice that @markuskowa [was following](https://discourse.nixos.org/t/any-reason-not-to-share-a-read-only-nix-store-mount-between-servers/3657/6). Share the nix store among nodes, so they can directly access the paths. …

> [@Super Colliding Nix Stores](https://discourse.nixos.org/t/super-colliding-nix-stores/28462):
>
> [Replit](https://replit.com/) has teamed up with [Obsidian Systems](https://obsidian.systems/) (@Ericson2314) and [Tweag](https://www.tweag.io/) (@thufschmitt, @ben) to add a Local Overlay Store to Nix that allows merging of multiple (possibly remote) stores. You can read more about the motivation and details for this project on our blog: In the coming weeks, we will be developing these new features, releasing a Nix RFC, and working to upstream it into Nix. Reply here if you have ideas for how this kind of Store could help you out. We’re interested to learn about m…

> <https://github.com/NixOS/rfcs/pull/152>
>
> Add a new \`local-overlay\` store implementation to Nix. This will be a local stor…e that is layered upon another local filesystem store (local store or daemon). This allows locally extending a shared store that is periodically updated with additional store objects.
> 
> \- \[Rendered\](https://github.com/NixLayeredStore/rfcs/blob/local-overlay-store/rfcs/0000-local-overlay-store.md)
> \- \[Blog post\](https://blog.replit.com/super-colliding-nix-stores)
> \- \[Implementation\](https://github.com/NixOS/nix/pull/8397)
> 
> \_This work is sponsored by \[Replit\](https://replit.com/) :sparkles:\_

---

_[View the full topic](https://discourse.nixos.org/t/sharing-nix-portable-store-between-multiple-users/36571)._
