[Nix-dev] Using a remote machine for builds with two NixOS machines.

Eelco Dolstra eelco.dolstra at logicblox.com
Wed Sep 30 21:45:11 CEST 2015


Hi,

On 30/09/15 21:31, roconnor at theorem.ca wrote:

> I have a slow laptop that needs a custom kernel.  It usually takes 
> overnight to recompile a kernel, so to combat this, I've recently set up 
> my laptop to use my desktop to perform builds.
> 
> Since this process isn't so well documented, I though I would try to 
> make a record of what I did, or rather what I would do if I were doing 
> this again.  I'll replace the contents of 
> https://nixos.org/wiki/Distributed_build with this, if there are no 
> complaints.
> 
> 
> Step 1.  Create and exchange signing keys.

Creating signing keys is not necessary if you set

  nix.trustedUsers = [ "nixBuild" ];

on the build machine.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list