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 committed by raito
parent c1f9e26c06
commit fe3e4a50fb

View file

@ -35,6 +35,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 = {