system/machines/modules/fail2ban.nix

12 lines
159 B
Nix

{ ... }:
{
services.fail2ban = {
enable = true;
bantime-increment = {
enable = true;
factor = "4";
maxtime = "48h";
};
};
}