Distributed build: Difference between revisions

m Make ssh access table more beginner friendly
m Improve sentence
Line 32: Line 32:
|}
|}


The thing to know about the '''"Multi-user"''' installation is that '''Nix is installed with a "nix-daemon" background process that runs as root''' and actually manages the builds on your behalf. So when your non-root user calls '''"nix build ...", this is delegated to the nix-daemon''' process, which runs as root. And this process can further delegate the build to a remote builder; that's why the '''local machine's root user''' needs the SSH access.
The thing to know about the '''"Multi-user"''' installation is that '''Nix is installed with a "nix-daemon" background process that runs as root''' and actually manages the builds on your behalf. So when you call '''"nix build ..." as a non-root user, this is delegated to the nix-daemon''' process, which runs as root. And this process can further delegate the build to a remote builder; that's why the '''local machine's root user''' needs the SSH access.


In any case, the good test for Nix SSH access, that takes this into account, is:
In any case, the good test for Nix SSH access, that takes this into account, is: