1 { pkgs, lib, config, servers, ... }:
3 services.sshd.logLevel = "VERBOSE";
6 banaction = "nftables-multiport";
7 banaction-allports = "nftables-allports";
11 formula = "ban.Time * (1 << min(ban.Count, 20)) * banFactor";
17 packageFirewall = pkgs.nftables;
21 "198.252.154.1" # wren.riseup.net
41 environment.etc."fail2ban/action.d/nftables-common.local".text = ''