system/nixos/shared/fail2ban.nix

13 lines
159 B
Nix
Raw Normal View History

2023-03-02 13:09:07 +03:00
{ ... }:
{
services.fail2ban = {
enable = true;
bantime-increment = {
enable = true;
factor = "4";
maxtime = "48h";
};
};
}