diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-07-13 07:39:07 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-07-13 07:39:07 +0300 |
commit | 138ff2ae32facaf4f2c072115b1b0f64f05f615a (patch) | |
tree | 1853385d7b07b92c3eb84439170fc719e56cf2c4 /modules/nixos/fail2ban.nix | |
parent | 2023-07-09 (diff) |
2023-07-13
Diffstat (limited to '')
-rw-r--r-- | modules/nixos/fail2ban.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/nixos/fail2ban.nix b/modules/nixos/fail2ban.nix index a42aab3..ce35c1f 100644 --- a/modules/nixos/fail2ban.nix +++ b/modules/nixos/fail2ban.nix @@ -26,9 +26,7 @@ in { optionals (hasAttr "wireguard" this) (with config.nixfiles.modules.wireguard; [ipv4.subnet ipv6.subnet]); - jails.DEFAULT = '' - blocktype = DROP - ''; + jails.DEFAULT.settings.blocktype = "DROP"; }; }; } |