nixos/fail2ban: also inherit bantime (#244688)

nixos/fail2ban: also inherit bantime

Artturi 22e61b14 fc67bfdc

Changed files
+1 -1
nixos
modules
services
security
+1 -1
nixos/modules/services/security/fail2ban.nix
···
)
) // {
# 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