From 6b717b8b7f024e2e927d883b711f3ef04a2fb7af Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Sat, 26 Nov 2022 14:44:12 -0500 Subject: [PATCH] darwin: setup remote builder --- systems/darwin.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/systems/darwin.nix b/systems/darwin.nix index 39fb6b0..18931f2 100644 --- a/systems/darwin.nix +++ b/systems/darwin.nix @@ -45,6 +45,15 @@ extra-platforms = aarch64-darwin x86_64-darwin experimental-features = nix-command flakes repl-flake ''; + # https://nixos.wiki/wiki/Distributed_build + distributedBuilds = true; + buildMachines = [ + { + hostName = "88.198.33.237"; # pinch + system = "x86_64-linux"; + maxJobs = 4; + } + ]; }; nixpkgs.config.allowBroken = true;