Compare commits

...

2 commits

Author SHA1 Message Date
müde
6ee82131cd ditributed builds: tweak speed factors 2026-05-03 14:24:56 +02:00
müde
dc36665e7a distributed builds: fix host name does not match after expansion 2026-05-03 14:21:34 +02:00
2 changed files with 4 additions and 2 deletions

View file

@ -28,6 +28,7 @@ in
system = "aarch64-linux";
distributedBuilds = {
isBuilder = true;
speedFactor = 1;
clientPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK0NLgg0sFobBWz/bjYs9WkrMvlcvJC5F6+3jQ/b+AnD forgejo-runner-1-nix-builds";
hostPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIANGC89GiT5xCsFICwrharrbV3q7acWHqk6ZwOUXbtGT";
storeSigningPublicKey = "forgejo-runner-1:ln1FVLL8G5+IveQuBi/Kn3SaqFZ1gaiQrE3yPlMhCMA=";
@ -44,6 +45,7 @@ in
};
distributedBuilds = {
isBuilder = true;
speedFactor = 2;
hostPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHGKoZ68wwyVRmPB0SkvpJUyUMDWeFbC5Je9zukyEOh7";
clientPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKAbojdhb3PfazSRmudvo381Y+zUFVLMa7AbWbfK/Zp2 muede-lpt2-nix-builds";
storeSigningPublicKey = "muede-lpt2:3csut7FW6oZK/ztRLBRC80LSBfFE3qzl+aIYgOixB6U=";
@ -57,7 +59,7 @@ in
};
distributedBuilds = {
isBuilder = true;
speedFactor = 2;
speedFactor = 4;
hostPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKEQQS5XNoj62Oj85xQfIuLORwoBRwfqjvfBHHsiI+RH";
clientPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHmnyhP6L+kGHV15cb/d31AQr50wSEaQhkUBwy2+OEKk muede-pc2-nix-builds";
storeSigningPublicKey = "muede-pc2:fqQO0E0y65MjUWlQnrgWt5ZsmQKlKCv4jls3CmUXDEQ=";

View file

@ -104,7 +104,7 @@ in
knownHosts = buildServerKnownHosts;
extraConfig = lib.concatStringsSep "\n" (
lib.mapAttrsToList (name: _: ''
Match host ${name} user ${buildUser}
Match originalhost ${name} user ${buildUser}
IdentityFile ${clientSshKeyPath}
IdentitiesOnly yes
'') buildServerDevices