NixOS-Config/system/services/ssh/fail2ban/default.nix

9 lines
160 B
Nix
Raw Normal View History

{ outputs, ... }: {
services.fail2ban = {
enable = true;
maxretry = 5;
bantime = "5m";
ignoreIP = [ "${outputs.ips.localSpan}.0/24" ];
};
}