builders: tune sshd MaxStartups to avoid rate limiting Hydra

This commit is contained in:
Pierre Bourdon 2024-07-12 21:57:04 +02:00
parent e6ead602f0
commit 756341ea4c
Signed by: delroth
GPG key ID: 6FB80DCD84DA0F1C

View file

@ -105,6 +105,12 @@ in
services.resolved.enable = false;
networking.resolvconf.useLocalResolver = true;
# Hydra blasts ssh connections and does not multiplex. Loosen some of the
# rate limiting.
services.openssh.settings = {
MaxStartups = "500:30:1000";
};
bagel.sysadmin.enable = true;