From 9ede9fe3be3c1dcd5968d28296d87d43c17f4e68 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;