From 4624087eb08dbdb0cc6e71aded6f8f80bb9e2d4b Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sun, 20 Oct 2024 13:22:48 -0500 Subject: [PATCH] darwin/nix: add linux-builder --- modules/darwin/nix/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/darwin/nix/default.nix b/modules/darwin/nix/default.nix index de7cd6971..5f7d901d4 100644 --- a/modules/darwin/nix/default.nix +++ b/modules/darwin/nix/default.nix @@ -28,6 +28,21 @@ in user = config.${namespace}.user.name; }; + linux-builder = { + maxJobs = 2; + protocol = "ssh"; + systems = [ + "x86_64-linux" + "aarch64-linux" + ]; + speedFactor = 1; + supportedFeatures = [ + "benchmark" + "big-parallel" + "nixos-test" + ]; + }; + optimise = { interval = { Day = 7;