Re: [Nix-dev] Multiple machines with nix store shared via NFS

2016-07-07 Thread Renato Alves
Hi Erik, This is a different question. As far as I understand it NixOps replicates a machine configuration. It copies the store. I want the exact opposite. One store shared across all using NFS. Anyway just for the record in case someone goes down the same road. At the time there is no

Re: [Nix-dev] Multiple machines with nix store shared via NFS

2016-07-03 Thread 4levels
Hi Renato, I'm no expert whatsoever here, but isn't NixOps doing this in a way? At least on my nixos deployed servers all stores are kept in sync, only the server-specific packages are unique for each machine. Don't ask me how it works, I can only confirm that it does ;-) Just my 2 cents.. Kind

Re: [Nix-dev] Multiple machines with nix store shared via NFS

2016-07-01 Thread Azul
how would you rollback a broken system if the /nix store was remote and the box wouldnt boot or have no network ? On 1 July 2016 at 21:34, Layus wrote: > I never sait it was a good idea, just soemthing worth investigating. > > Now, this has been discussed on the ML already >

Re: [Nix-dev] Multiple machines with nix store shared via NFS

2016-07-01 Thread Layus
I never sait it was a good idea, just soemthing worth investigating. Now, this has been discussed on the ML already See for example [Nix-dev] Sharing the Nix store between systems /Rickard Nilsson /[Nix-dev] nix on

Re: [Nix-dev] Multiple machines with nix store shared via NFS

2016-07-01 Thread Layus
Just one idea off the top of my head: Would it be possible to forward the unix socket of the daemon ? -- Layus ? On 01/07/16 15:10, Renato Alves wrote: Hi everyone, Recently I've been trying to setup nix on a multiple-machine shared environment. At the moment I have one machine setup with

Re: [Nix-dev] Multiple machines with nix store shared via NFS

2016-07-01 Thread Renato Alves
The number of machines is too large to have a nix store on each of them, both in terms of maintenance as well as storage. Some of these machines are clusters so NFS is necessary at least within cluster nodes. R On 01/07/16 15:21, Domen Kožar wrote: > In my experience, NFS is not worth the