From 576e92bf97f34b08cf633bb47323404cb853f1ed Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Thu, 29 Aug 2024 21:01:42 +0200 Subject: [PATCH] add 2nd builder --- nixos-modules/nix/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/nixos-modules/nix/default.nix b/nixos-modules/nix/default.nix index 0e13643..c69452c 100644 --- a/nixos-modules/nix/default.nix +++ b/nixos-modules/nix/default.nix @@ -64,13 +64,23 @@ in { systems = getArchs "hetzner"; supportedFeatures = self.nixosConfigurations.hetzner.config.nix.settings.system-features; - hostName = "missing.ninja"; + hostName = "hetzner"; publicHostKey = "c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSUZYQzNPVGRPd0w4V1NDaHhFRENiNS9WbUZYcDZmWUZEM21MMFhFdzFFTDAgcm9vdEBoZXR6bmVyCg=="; protocol = "ssh-ng"; sshUser = "builder"; sshKey = "/root/.ssh/builder"; maxJobs = 12; } + { + systems = getArchs "zap"; + supportedFeatures = self.nixosConfigurations.zap.config.nix.settings.system-features; + hostName = "zap"; + publicHostKey = "c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSU5Xb056T0QrM0UzT20xbGpkRUNxWUhaQkZteHA3bTNsS1MxSHBkQnZkZjYgcm9vdEB6YXAK"; + protocol = "ssh-ng"; + sshUser = "builder"; + sshKey = "/root/.ssh/builder"; + maxJobs = 4; + } ]; distributedBuilds = true; package = pkgs.lix;