diff options
| author | Fuwn <[email protected]> | 2024-09-25 02:57:36 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-25 02:57:36 -0700 |
| commit | 879910dce240c67cc077274fda6a1d55ae4f47cc (patch) | |
| tree | 9187a21081c834ca72f0d9635b53847fe133f82c /modules/desktop/networking/firewall/fail2ban.nix | |
| parent | nix: clean with nh (diff) | |
| download | nixos-config-879910dce240c67cc077274fda6a1d55ae4f47cc.tar.xz nixos-config-879910dce240c67cc077274fda6a1d55ae4f47cc.zip | |
firewall: move to core
Diffstat (limited to 'modules/desktop/networking/firewall/fail2ban.nix')
| -rw-r--r-- | modules/desktop/networking/firewall/fail2ban.nix | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/modules/desktop/networking/firewall/fail2ban.nix b/modules/desktop/networking/firewall/fail2ban.nix deleted file mode 100644 index 6311b14..0000000 --- a/modules/desktop/networking/firewall/fail2ban.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ pkgs, lib, ... }: -{ - services.fail2ban = { - enable = false; - banaction = "nftables-multiport"; - banaction-allports = lib.mkDefault "nftables-allport"; - - extraPackages = with pkgs; [ - nftables - ipset - ]; - - ignoreIP = [ - "10.0.0.0/8" - "172.16.0.0/12" - "100.64.0.0/16" - "192.168.0.0/16" - ]; - }; -} |