2024-10-15 02:40:43 -04:00
|
|
|
{ ... }:
|
2024-10-09 03:36:08 -04:00
|
|
|
{
|
2024-10-07 11:42:34 -04:00
|
|
|
services.fail2ban = {
|
|
|
|
enable = true;
|
|
|
|
maxretry = 5;
|
|
|
|
bantime = "5m";
|
|
|
|
};
|
2024-11-03 06:57:03 -05:00
|
|
|
|
|
|
|
environment.persistence."/persist".directories = [ "/var/lib/fail2ban" ];
|
2024-10-07 11:42:34 -04:00
|
|
|
}
|