nixos/fail2ban: also inherit bantime (#244688)

nixos/fail2ban: also inherit bantime
This commit is contained in:
Artturi 2023-10-17 09:40:39 +03:00 committed by GitHub
commit 22e61b1402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -393,7 +393,7 @@ in
)
) // {
# Miscellaneous options
inherit (cfg) banaction maxretry;
inherit (cfg) banaction maxretry bantime;
ignoreip = ''127.0.0.1/8 ${optionalString config.networking.enableIPv6 "::1"} ${concatStringsSep " " cfg.ignoreIP}'';
backend = "systemd";
# Actions