From c311ccf80a9ec1b151e9648a3b32235a371ff9ad Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 8 Jun 2024 12:23:57 +0200 Subject: [PATCH] fix: enable a bunch of startups for sshd Signed-off-by: Raito Bezarius --- modules/nix-daemon.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/nix-daemon.nix b/modules/nix-daemon.nix index b30d12d..7d8825e 100644 --- a/modules/nix-daemon.nix +++ b/modules/nix-daemon.nix @@ -33,6 +33,9 @@ in # Makes the computer go faster. nixos.jobserver.enable = true; + # Avoid weird failures for builders. + services.openssh.settings.MaxStartups = 100; + # Memory accounting techniques systemd.services.nix-daemon.serviceConfig = { MemoryAccounting = true;