nix-daemon: set MaxSessions to 100

This makes more simultaneous remote builds possible when using a
multiplexed SSH connection.
This commit is contained in:
Linus Heckemann 2024-10-18 16:06:31 +02:00
parent 9602ab9539
commit 3f66dee8f1

View file

@ -36,6 +36,7 @@ in
# Avoid weird failures for builders.
services.openssh.settings.MaxStartups = 100;
services.openssh.settings.MaxSessions = 100;
# Memory accounting techniques
systemd.services.nix-daemon.serviceConfig = {