Distributed build: Difference between revisions
Link to Nixos-rebuild#Deploying_on_other_machines |
corrected speedFactor comment |
||
| (One intermediate revision by one other user not shown) | |||
| 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 | <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.}} | ||
| Line 145: | Line 145: | ||
# default is 1 but may keep the builder idle in between builds | # default is 1 but may keep the builder idle in between builds | ||
maxJobs = 3; | maxJobs = 3; | ||
# how fast is the builder compared to | # how fast is the builder compared to other remote builders | ||
speedFactor = 2; | speedFactor = 2; | ||
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]; | supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]; | ||