From f16594e18bc6b7a67f1d8072701a980fddf97b8c Mon Sep 17 00:00:00 2001 From: Svein Ove Aas Date: Sat, 26 Dec 2015 16:50:37 +0100 Subject: nixos/fail2ban: Enable jails by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With jails defaulting to 'enabled = true', the sshd jail that NixOS defines will now be enabled. [Bjørn: tweak commit message] --- nixos/modules/services/security/fail2ban.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nixos/modules') diff --git a/nixos/modules/services/security/fail2ban.nix b/nixos/modules/services/security/fail2ban.nix index 6288b1b3ba8..1d3e18dcab2 100644 --- a/nixos/modules/services/security/fail2ban.nix +++ b/nixos/modules/services/security/fail2ban.nix @@ -138,6 +138,7 @@ in findtime = 600 maxretry = 3 backend = systemd + enabled = true ''; # Block SSH if there are too many failing connection attempts. -- cgit 1.4.1