From 51e527753072dc4527cdef1ce9060d7a420bbdbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 27 Feb 2024 15:49:40 +0200 Subject: [PATCH] nix distributed: more settings --- hosts/fwminex/configuration.nix | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index 61d39e5..b5f44cc 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -168,15 +168,20 @@ in { virtualisation.virtualbox.host.enable = true; users.extraGroups.vboxusers.members = ["motiejus"]; - nix.buildMachines = [ - { - hostName = myData.hosts."fra1-a.servers.jakst".jakstIP; - system = "aarch64-linux"; - protocol = "ssh-ng"; - sshUser = "remote-builder"; - sshKey = "/etc/ssh/ssh_host_ed25519_key"; - } - ]; + nix = { + buildMachines = [ + { + hostName = myData.hosts."fra1-a.servers.jakst".jakstIP; + system = "aarch64-linux"; + protocol = "ssh-ng"; + sshUser = "remote-builder"; + sshKey = "/etc/ssh/ssh_host_ed25519_key"; + supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm" "gccarch-armv8-a"]; + } + ]; + distributedBuilds = true; + extraOptions = ''builders-use-substitutes = true''; + }; networking = { hostId = "3a54afcd";