diff --git a/machines/magenta/default.nix b/machines/magenta/default.nix index 6431fb1..a6a2f3b 100644 --- a/machines/magenta/default.nix +++ b/machines/magenta/default.nix @@ -28,5 +28,12 @@ in defaults.email = "dmitriy@pleshevski.ru"; }; - services.fail2ban.enable = true; + services.fail2ban = { + enable = true; + bantime-increment = { + enable = true; + factor = "4"; + maxtime = "48h"; + }; + }; }