Distribute builds between remote builders and localhost

Hi

I’m using a remote builder, but my local machine is almost as powerful as the remote builder, I’d like to distribute builds (from nixpkgs-review) over the remote machine (or potentially multiple remotes) and my local system.

Is it possible? I tried to add localhost as a local remote, but it seemed to be entered into an infinite loop as the local remote itself was certainly trying to use a remote itself etc…

1 Like

I suppose it’s possible, the documentations about speed factors says this

The “speed factor”, indicating the relative speed of the machine. If there are multiple machines of the right type, Nix will prefer the fastest, taking load into account.