diff --git a/ops/nixos/lib/whitby-distributed.nix b/ops/nixos/lib/whitby-distributed.nix index 2c222bc6e6..c5194195b5 100644 --- a/ops/nixos/lib/whitby-distributed.nix +++ b/ops/nixos/lib/whitby-distributed.nix @@ -2,10 +2,10 @@ # # SPDX-License-Identifier: Apache-2.0 -{ pkgs, depot, lib, ... }: +{ lib, ... }: { # Distributed builds! - nix.buildMachines = [ { + nix.buildMachines = lib.mkAfter [ { hostName = "whitby"; system = "x86_64-linux"; maxJobs = 64; diff --git a/ops/nixos/porcorosso/default.nix b/ops/nixos/porcorosso/default.nix index 786d90ddf9..f93d91d3a3 100644 --- a/ops/nixos/porcorosso/default.nix +++ b/ops/nixos/porcorosso/default.nix @@ -226,6 +226,15 @@ in { host all all ::1/128 trust ''; + nix.buildMachines = [ { + hostName = "totoro"; + system = "x86_64-linux"; + maxJobs = 4; + speedFactor = 2; + supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]; + mandatoryFeatures = [ ]; + }]; + # This value determines the NixOS release with which your system is to be # compatible, in order to avoid breaking some software such as database