summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2025-03-16 20:17:28 +0100
committerAlan Pearce2025-03-16 20:17:28 +0100
commitee5d9f0691ed88a2a70bb9420df07619b7bef2fd (patch)
tree4da6fcf530dcb04bf3ade7f08abe153b43c8dfc6
parent7dbc29f8000aa562a9d022dd98fb99151d8f00f7 (diff)
downloadnixfiles-ee5d9f0691ed88a2a70bb9420df07619b7bef2fd.tar.lz
nixfiles-ee5d9f0691ed88a2a70bb9420df07619b7bef2fd.tar.zst
nixfiles-ee5d9f0691ed88a2a70bb9420df07619b7bef2fd.zip
marvin: enable linux-builder
-rw-r--r--system/marvin.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/marvin.nix b/system/marvin.nix
index 2e88e0d2..bedb6348 100644
--- a/system/marvin.nix
+++ b/system/marvin.nix
@@ -50,6 +50,20 @@ in
   };
 
   nix = {
+    linux-builder = {
+      enable = true;
+      speedFactor = 20;
+      maxJobs = 4;
+      config = {
+        virtualisation = {
+          darwin-builder = {
+            diskSize = 40 * 1024;
+            memorySize = 16 * 1024;
+          };
+          cores = 6;
+        };
+      };
+    };
     distributedBuilds = true;
     buildMachines = [
       {