marvin: enable distributed builds
Alan Pearce alan@alanpearce.eu
Fri, 15 Nov 2024 12:34:16 +0100
1 files changed, 14 insertions(+), 11 deletions(-)
jump to
M system/marvin.nix → system/marvin.nix
@@ -29,15 +29,18 @@ cores = 4; 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 = [ ]; + } + ]; + }; }