summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2024-11-15 12:34:16 +0100
committerAlan Pearce2024-11-15 12:34:16 +0100
commit70ede959d7f7eec44b969d9ec00396b012bb7e16 (patch)
tree8d0e07ef03ad4285900e59696459861e3ebbb5d6 /system
parent3822220931b125c05d864920e3d29cb7096b759f (diff)
downloadnixfiles-70ede959d7f7eec44b969d9ec00396b012bb7e16.tar.lz
nixfiles-70ede959d7f7eec44b969d9ec00396b012bb7e16.tar.zst
nixfiles-70ede959d7f7eec44b969d9ec00396b012bb7e16.zip
marvin: enable distributed builds
Diffstat (limited to 'system')
-rw-r--r--system/marvin.nix25
1 files changed, 14 insertions, 11 deletions
diff --git a/system/marvin.nix b/system/marvin.nix
index 4579e23c..a69342a0 100644
--- a/system/marvin.nix
+++ b/system/marvin.nix
@@ -29,15 +29,18 @@
     auto-optimise-store = false; # https://github.com/NixOS/nix/issues/7273
   };
 
-  nix.buildMachines = [
-    {
-      protocol = "ssh-ng";
-      sshUser = "nixremote";
-      hostName = "linde.alanpearce.eu";
-      system = "aarch64-linux";
-      maxJobs = 2;
-      speedFactor = 1;
-      supportedFeatures = [ ];
-    }
-  ];
+  nix = {
+    distributedBuilds = true;
+    buildMachines = [
+      {
+        protocol = "ssh-ng";
+        sshUser = "nixremote";
+        hostName = "linde.alanpearce.eu";
+        system = "aarch64-linux";
+        maxJobs = 2;
+        speedFactor = 1;
+        supportedFeatures = [ ];
+      }
+    ];
+  };
 }