From 4276a68271872e2e3a9d74b4b89cbf6179d51c99 Mon Sep 17 00:00:00 2001 From: Matt Layher Date: Sun, 26 Apr 2020 11:19:45 -0400 Subject: [PATCH] nixos/routnerr-2: use servnerr-3 as a remote builder --- nixos/routnerr-2/configuration.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nixos/routnerr-2/configuration.nix b/nixos/routnerr-2/configuration.nix index 75345c0..4a990fe 100644 --- a/nixos/routnerr-2/configuration.nix +++ b/nixos/routnerr-2/configuration.nix @@ -124,6 +124,17 @@ in { # Automatic store optimization. autoOptimiseStore = true; + + # Use server as a remote builder. + buildMachines = [{ + hostName = "servnerr-3"; + system = "x86_64-linux"; + maxJobs = 8; + cores = 2; + speedFactor = 2; + supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]; + }]; + distributedBuilds = true; }; services = {