all repos — nixfiles @ 2edba7e1a76d3970bddd9baf6319c0b68b9c9f36

System and user configuration, managed by nix and home-manager

Laptop: Use remote build server

Alan Pearce
commit

2edba7e1a76d3970bddd9baf6319c0b68b9c9f36

parent

acfa8110cdf4dde9532d33442a4ad18f5a6196c6

2 files changed, 14 insertions(+), 0 deletions(-)

jump to
M modules/hardware/laptop.nixmodules/hardware/laptop.nix
@@ -73,5 +73,6 @@ systemd.services.nix-gc.unitConfig.ConditionACPower = true;
imports = [ ../user-interface.nix + ../remote-build.nix ]; }
A modules/remote-build.nix
@@ -0,0 +1,13 @@
+{ config, pkgs, ... }: + +{ nix.distributedBuilds = true; + nix.buildMachines = [{ + hostName = "oak.alanpearce.eu"; + sshUser = "nix-ssh"; + sshKey = "/root/.ssh/id_ed25519"; + system = "x86_64-linux"; + maxJobs = 2; + supportedFeatures = ["kvm"]; + mandatoryFeatures = []; + }]; +}