Distributed build: Difference between revisions

Link to Nixos-rebuild#Deploying_on_other_machines
m Changed `nix store ping` to `nix store info`, because of the warning: 'ping' is a deprecated alias for 'info'.
 
Line 40: Line 40:
{{Tip|The best test to check that the SSH access works for Nix is to run on your local machine:
{{Tip|The best test to check that the SSH access works for Nix is to run on your local machine:


<code>nix store ping --store ssh://<REMOTE-BUILDER></code>
<code>nix store info --store ssh://<REMOTE-BUILDER></code>


Where <code><REMOTE-BUILDER></code> is the remote builder's IP address, host address or whatever name you configure in ~/.ssh/config or /root/.ssh/config, including the user@ prefix.}}
Where <code><REMOTE-BUILDER></code> is the remote builder's IP address, host address or whatever name you configure in ~/.ssh/config or /root/.ssh/config, including the user@ prefix.}}