1 { pkgs, lib, config, machines, ... }:
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;
19 machines.mermet.extraArgs.ipv4
20 machines.losurdo.extraArgs.ipv4
21 "198.252.154.1" # wren.riseup.net
41 environment.etc."fail2ban/action.d/nftables-common.local".text = ''