nixos-config/config/services/fail2ban.nix

8 lines
137 B
Nix
Raw Normal View History

2022-01-15 11:57:44 +00:00
{ ... }: {
services.fail2ban = {
enable = true;
bantime-increment.enable = true;
bantime-increment.maxtime = "48h";
};
}