From 959b3d00b7fda6128f628d3e979f4b54e4cfc7f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 21 Sep 2022 19:52:41 +0200 Subject: [PATCH] hydra: remove ssh://localhost which no longer works --- hosts/hydra/hydra.nix | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/hosts/hydra/hydra.nix b/hosts/hydra/hydra.nix index 0a00a24b..58ab6c33 100644 --- a/hosts/hydra/hydra.nix +++ b/hosts/hydra/hydra.nix @@ -61,25 +61,16 @@ allowed-uris = http:// https:// ssh:// builders-use-substitutes = true experimental-features = ca-derivations nix-command flakes + extra-platforms = riscv64-linux ''; trustedUsers = [ "hydra" "root" ]; buildMachines = [{ - hostName = "localhost"; - system = lib.concatStringsSep "," ([ - pkgs.system - "i686-linux" - "riscv64-linux" - ]); - # ] ++ config.boot.binfmt.emulatedSystems); - supportedFeatures = [ "big-parallel" "benchmark" "kvm" "nixos-test" ]; - inherit (config.nix) maxJobs; - } { - hostName = "client@dacbert.hq.c3d2.de"; - system = lib.concatStringsSep "," [ - "aarch64-linux" "armv6l-linux" "armv7l-linux" - ]; - supportedFeatures = [ "kvm" "benchmark" "nixos-test" ]; - maxJobs = 1; + hostName = "client@dacbert.hq.c3d2.de"; + system = lib.concatStringsSep "," [ + "aarch64-linux" "armv6l-linux" "armv7l-linux" + ]; + supportedFeatures = [ "kvm" "nixos-test" ]; + maxJobs = 1; }]; daemonCPUSchedPolicy = "idle"; @@ -146,8 +137,8 @@ MemoryMax = "64G"; MemorySwapMax = "64G"; }; + nix-daemon.serviceConfig = { - LimitNOFILE = lib.mkForce 8192; CPUWeight = 5; MemoryHigh = "64G"; MemoryMax = "64G";