Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions nixos/services/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,19 @@
PermitRootLogin = "no";
PasswordAuthentication = false;
# Agent fleets connect in bursts over slow relays (Tailscale DERP);
# stock MaxStartups drops those handshakes. Raised 2026-10-25.
MaxStartups = "100:30:250";
# stock MaxStartups drops those handshakes. Raised 2026-10-25,
# raised again 2026-10-28 (Drew) after nix#1020: bursts through
# the tailnet still tripped the 100 cap during fleet-wide runs.
MaxStartups = "200:30:500";
MaxSessions = 50;
# Unauthenticated slots recycle in half the stock time, so a
# burst drains faster instead of piling up against MaxStartups.
LoginGraceTime = 60;
# Probe idle clients every 30s and drop ones that never answer:
# dead DERP/tailnet connections stop holding sessions open,
# live-but-quiet sessions survive 10 missed probes (~5 min).
ClientAliveInterval = 30;
ClientAliveCountMax = 10;
};
hostKeys = [
# {
Expand Down
Loading