# vim: ts=2 {...}: { services.fail2ban = { enable = true; maxretry = 2; # ban after 2 failures bantime-increment = { enable = true; rndtime = "8m"; overalljails = true; multipliers = "2 4 16 128 256"; maxtime = "72h"; }; }; }