From b1f3d839adc88b024e3a79d09b54a1939b78edba Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sat, 20 Jul 2024 22:35:52 -0600 Subject: net/fail2ban: initial commit --- sys/auth/openssh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/auth') diff --git a/sys/auth/openssh.nix b/sys/auth/openssh.nix index 2030682..0c23c81 100644 --- a/sys/auth/openssh.nix +++ b/sys/auth/openssh.nix @@ -35,7 +35,7 @@ in enable = true; openFirewall = true; ports = [ 2234 ]; - startWhenNeeded = true; + startWhenNeeded = !config.services.fail2ban.enable; hostKeys = map (name: { -- cgit v1.2.3