nixos-config/config/services/fail2ban.nix

7 lines
137 B
Nix

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