From 056e3447e4f2887edf6989c64e8b9108ea86cc57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Thu, 9 May 2024 23:13:08 +0200 Subject: [PATCH] remote-builds: Specify max jobs Should make better use of the hardware. Otherwise it's roundtrip frenzy. --- os/remote-builds/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/os/remote-builds/default.nix b/os/remote-builds/default.nix index d0f46cc..c513c4f 100644 --- a/os/remote-builds/default.nix +++ b/os/remote-builds/default.nix @@ -12,10 +12,12 @@ let hostName = "abavorana.frogeye.fr"; publicHostKey = "c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSU5iNzcrS01tRHI0MVhZdmZITXQvK3NHMkJCSEIzYUl4M045WDNVejhFaUogZ2VvZmZyZXlAY3VyYWNhbwo="; supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]; + maxJobs = 8; } { hostName = "ludwig.clowncar.frogeye.fr"; publicHostKey = "c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSU41SXZhMzNXeGplN095cHVEUHBSakFNMTlvRUtEVDRiYlpUTm82V1FLZTAgZ2VvZmZyZXlAY3VyYWNhbwo="; + maxJobs = 4; } ]; # MANU pass vivarium/lemmy/remote-builds/cache | nix key convert-secret-to-public | cat