commit b5beba9e484e7f1458bca15006480586cc8af363 parent 46af3ac859a9642bf404376d291029fe2faabcb1 Author: Vincent Demeester <vincent@sbr.pm> Date: Thu, 17 Dec 2020 15:57:34 +0100 systems: add hokkaido as builder too Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | systems/hosts/naruhodo.nix | | | 42 | ++++++++++++++++++++++++++++++------------ |
1 file changed, 30 insertions(+), 12 deletions(-)
diff --git a/systems/hosts/naruhodo.nix b/systems/hosts/naruhodo.nix @@ -79,24 +79,42 @@ in }; nix.distributedBuilds = true; - nix.buildMachines = [{ - hostName = "192.168.1.77"; - maxJobs = 8; - sshUser = "builder"; - sshKey = "/etc/nixos/secrets/builder"; - systems = [ "x86_64-linux" "aarch64-linux" "armv7l-linux" "armv6l-linux" ]; - supportedFeatures = [ - "big-parallel" - "kvm" - "nixos-test" - ]; - }]; + nix.buildMachines = [ + { + hostName = "192.168.1.77"; + maxJobs = 8; + sshUser = "builder"; + sshKey = "/etc/nixos/secrets/builder"; + systems = [ "x86_64-linux" "aarch64-linux" "armv7l-linux" "armv6l-linux" "powerpc64le-linux" "s390x-linux" ]; + supportedFeatures = [ + "big-parallel" + "kvm" + "nixos-test" + ]; + } + { + hostName = "192.168.1.115"; + maxJobs = 8; + sshUser = "builder"; + sshKey = "/etc/nixos/secrets/builder"; + systems = [ "x86_64-linux" "aarch64-linux" "armv7l-linux" "armv6l-linux" "powerpc64le-linux" "s390x-linux" ]; + supportedFeatures = [ + "big-parallel" + "kvm" + "nixos-test" + ]; + } + ]; programs.ssh.knownHosts = { "wakasu" = { hostNames = [ "wakasu.home" "192.168.1.77" ]; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ2GB030S1+iZMqwgYhkl5CuBOKBjZoujc0aVHII39/x"; }; + "hokkaido" = { + hostNames = [ "hokkaido.home" "192.168.1.115" ]; + publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB5hoyiE7fj+/vUzvvFD2r2Mm4p86p6uPDOp0ChzR5ZC"; + }; }; services.hardware.bolt.enable = true;