1 { pkgs, lib, config, hosts, ... }:
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 hosts.mermet.extraArgs.ipv4
25 hosts.losurdo.extraArgs.wireguard.wg-intra.ipv4
26 "losurdo.sourcephile.fr"
47 environment.etc."fail2ban/action.d/nftables-common.local".text = ''