summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authortriethyl <triethylammonium@pm.me>2025-09-16 10:23:36 -0400
committertriethyl <triethylammonium@pm.me>2025-09-16 10:23:36 -0400
commitf93f626d04970ab6f3db7744e65ab70d88ecb12e (patch)
tree3e91a36ed7ef796fe69c231a1c41e01fb6f778f5 /nixos
parentdcbfe75500212c9d0e5a422d6e10eb356e1da28b (diff)
homelab: added fail2ban to ssh
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/homelab/core/ssh.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/homelab/core/ssh.nix b/nixos/modules/homelab/core/ssh.nix
index 9995b1c..8cbfc70 100644
--- a/nixos/modules/homelab/core/ssh.nix
+++ b/nixos/modules/homelab/core/ssh.nix
@@ -13,5 +13,6 @@ in {
PasswordAuthentication = false;
};
};
+ services.fail2ban.enable = true;
};
}