add builders

This commit is contained in:
jopejoe1 2024-08-06 20:57:14 +02:00
parent fa00460dc2
commit 6331b2f4f4
5 changed files with 245 additions and 91 deletions

View file

@ -31,7 +31,6 @@ in
sandbox = true;
require-sigs = true;
max-jobs = "auto";
auto-optimise-store = true;
allowed-users = [ "*" ];
trusted-users = [
"builder"
@ -43,19 +42,32 @@ in
"flakes"
];
warn-dirty = true;
allow-dirty = false;
use-xdg-base-directories = true;
keep-going = true;
builders-use-substitutes = true;
download-attempts = 1;
fallback = true;
};
#buildMachines = {
# systems = [
# "x86_64-linux"
# ];
# supportedFeatures = [
# "kvm"
# "big-parallel"
# ];
#};
buildMachines = [
{
systems = [
"x86_64-linux"
];
supportedFeatures = [
"kvm"
"big-parallel"
"benchmark"
"nixos-test"
];
hostName = "missing.ninja";
publicHostKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFXC3OTdOwL8WSChxEDCb5/VmFXp6fYFD3mL0XEw1EL0";
protocol = "ssh-ng";
sshUser = "builder";
sshKey = "/root/.ssh/builder";
}
];
distributedBuilds = true;
package = pkgs.lix;
registry = lib.mkForce (

View file

@ -19,11 +19,7 @@ in
description = "Build User";
hashedPassword = "$2b$05$Uk84TY/RHlH8DIigUlFYjeorjTlCMEY9wN2pAcw5BLaPoc7dKiSsC";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB8oyMpS2hK3gQXyHIIVS6oilgMpemLmfhKKJ6RBMwUh johannes@joens.email"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP3pKtvhOOjG1pGJq7cVHS5uWy5IP8y1Ra/ENpmJcqOe root@zap"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFEcNAVRN66mfKmaCpxs++0094Eh4mqXkUwDPZPkIIBB johannes@joens.email"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFZDUoC+1lNR2JTY1Q+vhXpuLmKMdVl2OMFLVbQ3cGkw jopejoe1@kuraokami"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKm2igbJ+Ke+dJO3r7wp5ZTreHqC39Sjctca119Bl2yc jopejoe1@zap"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGvmivSRjYMSo6+mxChJ7n6k4no4Vkxb6r0In9ZjcqFY root@omoikane"
];
};
};