From 710d7f5aea8b485500c450f262cb5a4e589b8fe8 Mon Sep 17 00:00:00 2001 From: kity Date: Thu, 7 Aug 2025 17:54:23 +0200 Subject: [PATCH] added ssh jail --- hosts/sisyphe/features/fail2ban.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/sisyphe/features/fail2ban.nix b/hosts/sisyphe/features/fail2ban.nix index 48bd774..a1ef011 100644 --- a/hosts/sisyphe/features/fail2ban.nix +++ b/hosts/sisyphe/features/fail2ban.nix @@ -13,6 +13,12 @@ ''; */ }; + sshd = '' + enabled = true + port = ssh + logpath = %(sshd_log)s + backend = %(sshd_backend)s + ''; }; environment.etc = {