all repos — nixfiles @ ee5d9f0691ed88a2a70bb9420df07619b7bef2fd

System and user configuration, managed by nix and home-manager

marvin: enable linux-builder
Alan Pearce alan@alanpearce.eu
Sun, 16 Mar 2025 20:17:28 +0100
commit

ee5d9f0691ed88a2a70bb9420df07619b7bef2fd

parent

7dbc29f8000aa562a9d022dd98fb99151d8f00f7

1 files changed, 14 insertions(+), 0 deletions(-)

jump to
M system/marvin.nixsystem/marvin.nix
@@ -50,6 +50,20 @@ cores = 4;   };
 
   nix = {
+    linux-builder = {
+      enable = true;
+      speedFactor = 20;
+      maxJobs = 4;
+      config = {
+        virtualisation = {
+          darwin-builder = {
+            diskSize = 40 * 1024;
+            memorySize = 16 * 1024;
+          };
+          cores = 6;
+        };
+      };
+    };
     distributedBuilds = true;
     buildMachines = [
       {