From ccd59f628d9013e9e3675937b22cd2198262b81c Mon Sep 17 00:00:00 2001 From: Inex Code Date: Wed, 2 Oct 2024 16:52:56 +0300 Subject: [PATCH] feat: Enable fail2ban Closes #89 --- configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/configuration.nix b/configuration.nix index 3eb2b11..da04fad 100644 --- a/configuration.nix +++ b/configuration.nix @@ -81,6 +81,7 @@ in openFirewall = false; }; + services.fail2ban.enable = true; programs.ssh = { pubkeyAcceptedKeyTypes = [ "ssh-ed25519" "ssh-rsa" "ecdsa-sha2-nistp256" ]; hostKeyAlgorithms = [ "ssh-ed25519" "ssh-rsa" ];