1 { pkgs, lib, config, machines, ... }:
3 services.openssh.logLevel = "VERBOSE";
5 systemd.services.nftables.postStart = ''
6 systemctl reload fail2ban
11 banaction = "nftables-multiport";
12 banaction-allports = "nftables-allports";
16 formula = "ban.Time * (1 << min(ban.Count, 20)) * banFactor";
22 packageFirewall = pkgs.nftables;
24 machines.mermet.extraArgs.ipv4
25 machines.losurdo.extraArgs.ipv4
26 "198.252.154.1" # wren.riseup.net
46 environment.etc."fail2ban/action.d/nftables-common.local".text = ''