diff --git a/hosts/VEGAS/services/mail/postfix.nix b/hosts/VEGAS/services/mail/postfix.nix index 8d8bf3f..72b749e 100644 --- a/hosts/VEGAS/services/mail/postfix.nix +++ b/hosts/VEGAS/services/mail/postfix.nix @@ -93,6 +93,5 @@ in services.fail2ban.jails.postfix = '' enabled = true mode = aggressive - bantime.increment = true ''; } diff --git a/modules/fail2ban/default.nix b/modules/fail2ban/default.nix index 54d9b01..03f995f 100644 --- a/modules/fail2ban/default.nix +++ b/modules/fail2ban/default.nix @@ -12,5 +12,8 @@ "10.0.0.0/8" hosts.${config.networking.hostName}.interfaces.primary.addr ]; + bantime-increment = { + enable = true; + }; }; }