diff --git a/hosts/containers/hydra/hydra.nix b/hosts/containers/hydra/hydra.nix index 6ada1b68..31f5a312 100644 --- a/hosts/containers/hydra/hydra.nix +++ b/hosts/containers/hydra/hydra.nix @@ -1,6 +1,8 @@ { config, pkgs, ... }: -{ +let + nix-build = "client@172.22.99.156"; +in { nix = { binaryCaches = [ "https://cache.nixos.org" "https://genodepkgs.cachix.org" ]; @@ -11,12 +13,22 @@ allowed-uris = http:// https:// ''; trustedUsers = [ "hydra" ]; - buildMachines = [{ + buildMachines = [ { hostName = "localhost"; system = "x86_64-linux"; supportedFeatures = [ "kvm" "nixos-test" "big-parallel" "benchmark" ]; maxJobs = 4; - }]; + } { + hostName = nix-build; + system = "x86_64-linux"; + supportedFeatures = [ "nixos-test" "big-parallel" "benchmark" ]; + maxJobs = 4; + } { + hostName = nix-build; + system = "aarch64-linux"; + supportedFeatures = [ "nixos-test" "big-parallel" "benchmark" ]; + maxJobs = 4; + } ]; }; services.hydra = {