nixos/fail2ban: Enable jails by default
With jails defaulting to 'enabled = true', the sshd jail that NixOS
defines will now be enabled.
[Bjørn: tweak commit message]
commitf16594e18bc6b7a67f1d8072701a980fddf97b8c
authorSvein Ove Aas <sveina@gmail.com>
dateSat 26 Dec 2015, 16:50 (11 years ago)
parentbb288f4
nixos/modules/services/security/fail2ban.nix+1
@@ -138,6 +138,7 @@ in
138138 findtime = 600
139139 maxretry = 3
140140 backend = systemd
141+ enabled = true
141142 '';
142143
143144 # Block SSH if there are too many failing connection attempts.