From f5ad33c7346dc1adfe5f994175405d97a83b1d50 Mon Sep 17 00:00:00 2001 From: notohh Date: Thu, 6 Jul 2023 18:07:43 -0400 Subject: [PATCH] security: formatting --- modules/security.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/security.nix b/modules/security.nix index 41ab20d..ad1f11d 100644 --- a/modules/security.nix +++ b/modules/security.nix @@ -49,6 +49,8 @@ }; services.fail2ban = { enable = true; + bantime = "1h"; + maxretry = 1; ignoreIP = [ "192.168.0.0/16" "172.16.0.0/12" @@ -57,8 +59,6 @@ ]; extraSettings = { findtime = 100000; - bantime = 100000; - maxretry = 1; mode = "aggressive"; }; };