nixos/hosts/architect/fail2ban.nix

10 lines
226 B
Nix
Raw Permalink Normal View History

2021-11-25 11:42:32 +00:00
{ config, pkgs, ... }: {
services.fail2ban = {
2021-08-07 12:38:18 +01:00
enable = true;
package = pkgs.fail2ban;
packageFirewall = pkgs.nftables;
bantime-increment.enable = true;
2021-12-19 12:24:33 +00:00
ignoreIP = [ "10.0.0.0/24" "10.3.0.0/24" ];
2021-08-07 12:38:18 +01:00
};
}