From 70ede959d7f7eec44b969d9ec00396b012bb7e16 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 15 Nov 2024 12:34:16 +0100 Subject: marvin: enable distributed builds --- system/marvin.nix | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/system/marvin.nix b/system/marvin.nix index 4579e23c..a69342a0 100644 --- a/system/marvin.nix +++ b/system/marvin.nix @@ -29,15 +29,18 @@ auto-optimise-store = false; # https://github.com/NixOS/nix/issues/7273 }; - nix.buildMachines = [ - { - protocol = "ssh-ng"; - sshUser = "nixremote"; - hostName = "linde.alanpearce.eu"; - system = "aarch64-linux"; - maxJobs = 2; - speedFactor = 1; - supportedFeatures = [ ]; - } - ]; + nix = { + distributedBuilds = true; + buildMachines = [ + { + protocol = "ssh-ng"; + sshUser = "nixremote"; + hostName = "linde.alanpearce.eu"; + system = "aarch64-linux"; + maxJobs = 2; + speedFactor = 1; + supportedFeatures = [ ]; + } + ]; + }; } -- cgit 1.4.1