rock5b
as remote builder
This commit is contained in:
parent
fcea81b962
commit
545d968d20
2 changed files with 19 additions and 1 deletions
|
@ -38,5 +38,18 @@
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
options = "--delete-older-than 30d";
|
options = "--delete-older-than 30d";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildMachines = [
|
||||||
|
{
|
||||||
|
hostName = "rock5b.fleet";
|
||||||
|
system = "aarch64-linux";
|
||||||
|
maxJobs = 6;
|
||||||
|
speedFactor = 2;
|
||||||
|
supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"];
|
||||||
|
mandatoryFeatures = [];
|
||||||
|
sshKey = "/etc/ssh/ssh_host_ed25519_key";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
distributedBuilds = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
{fleetFlake, ...}: {
|
{fleetFlake, ...}: {
|
||||||
services = {
|
services = {
|
||||||
sshd.enable = true;
|
sshd.enable = true;
|
||||||
|
|
||||||
fail2ban = {
|
fail2ban = {
|
||||||
enable = true;
|
enable = true;
|
||||||
maxretry = 10;
|
maxretry = 10;
|
||||||
|
ignoreIP = [
|
||||||
|
"88.198.49.106"
|
||||||
|
"10.100.0.1/24"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
users.users.root.openssh.authorizedKeys.keys = builtins.attrValues (import "${fleetFlake}/lib").keys.users;
|
users.users.root.openssh.authorizedKeys.keys = builtins.attrValues (with (import "${fleetFlake}/lib"); keys.users // keys.hosts);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue