diff --git a/modules/nix/default.nix b/modules/nix/default.nix index 4025138..0b14b26 100644 --- a/modules/nix/default.nix +++ b/modules/nix/default.nix @@ -58,5 +58,27 @@ path = "/home/${config.ccr.username}/.config/emacs"; }; }; + + distributedBuilds = true; + buildMachines = [ + { + hostName = "sisko.fleet"; + system = "aarch64-linux"; + maxJobs = 4; + supportedFeatures = ["kvm" "nixos-test" "big-parallel" "benchmark"]; + protocol = "ssh-ng"; + sshUser = "root"; + sshKey = "/home/${config.ccr.username}/.ssh/id_rsa"; + } + { + hostName = "mac.staging.mlabs.city"; + system = "x86_64-darwin"; + maxJobs = 4; + supportedFeatures = ["kvm" "nixos-test" "big-parallel" "benchmark"]; + protocol = "ssh-ng"; + sshUser = "root"; + sshKey = "/home/${config.ccr.username}/.ssh/id_rsa"; + } + ]; }; }