12 lines
159 B
Nix
12 lines
159 B
Nix
{ ... }:
|
|
|
|
{
|
|
services.fail2ban = {
|
|
enable = true;
|
|
bantime-increment = {
|
|
enable = true;
|
|
factor = "4";
|
|
maxtime = "48h";
|
|
};
|
|
};
|
|
}
|