diff --git a/base/activation-manuelle/service-fail2ban.nix b/base/activation-manuelle/service-fail2ban.nix index e103025..1f26183 100644 --- a/base/activation-manuelle/service-fail2ban.nix +++ b/base/activation-manuelle/service-fail2ban.nix @@ -30,6 +30,12 @@ mkIf cfg.fail2ban { maxretry = 3 destemail = ${destemail} + + # https://github.com/Baughn/nixpkgs/blob/master/nixos/modules/services/security/fail2ban.nix + findtime = 600 + maxretry = 3 + backend = systemd + enabled = true ''; ssh-route = '' filter = sshd