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

2015-09-30 Thread roconnor
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

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

2015-09-30 Thread Eelco Dolstra
Hi, On 30/09/15 21:31, rocon...@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

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

2015-09-30 Thread Jonathan Glines
2015-09-30 14:09 GMT-06:00 Jonathan Glines : > 2015-09-30 13:31 GMT-06:00 : >> 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

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

2015-09-30 Thread Peter Simons
Hi, > Step 3. Create a nixBuild account > > On the server (i.e. my desktop), update /etc/nixos/configuration.nix to > add a new user > >users.extraUsers.nixBuild = { > name = "nixBuild"; > useDefaultShell = true; > openssh.authorizedKeys.keys = [ "ssh-ed25519 AAA...

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

2015-09-30 Thread Jonathan Glines
2015-09-30 13:31 GMT-06:00 : > 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. I did this for a short time, but I ran into a problem

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

2015-09-30 Thread Vladimír Čunát
On 09/30/2015 10:09 PM, Jonathan Glines wrote: > I did this for a short time, but I ran into a problem where my > Sandybridge desktop was compiling AVR instructions that my AMD netbook > did not understand. This was troublesome for the few packages I > compiled all the time (Asterisk, VirtualBox),