From 57352a5cf2dbab2f648ddfdf77e795d7c49eea3c Mon Sep 17 00:00:00 2001 From: James Walker Date: Mon, 27 Jul 2026 17:24:53 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=97=EF=B8=8F=20go=20back=20to=20linux-?= =?UTF-8?q?builder=20for=20aarch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nix/modules/base/darwin.nix | 17 ++++++++++++++++- nix/modules/builder/default.nix | 1 - 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/nix/modules/base/darwin.nix b/nix/modules/base/darwin.nix index 08ff97c..3391d98 100644 --- a/nix/modules/base/darwin.nix +++ b/nix/modules/base/darwin.nix @@ -21,6 +21,21 @@ }; options = "--delete-older-than 30d"; }; + + linux-builder = { + enable = true; + maxJobs = 4; + config = { + virtualisation = { + darwin-builder = { + diskSize = 40 * 1024; + memorySize = 8 * 1024; + }; + cores = 6; + }; + }; + }; + settings = { trusted-users = [ "root" @@ -43,7 +58,7 @@ }; onActivation = { autoUpdate = true; - cleanup = "zap"; + cleanup = "none"; upgrade = true; }; }; diff --git a/nix/modules/builder/default.nix b/nix/modules/builder/default.nix index 4c18991..aaf8b3b 100644 --- a/nix/modules/builder/default.nix +++ b/nix/modules/builder/default.nix @@ -6,7 +6,6 @@ _: { hostName = "plato"; systems = [ "x86_64-linux" - "aarch64-linux" ]; maxJobs = 6; supportedFeatures = [