From 26e139e21dbdcfcddbd8f2c6ce2dcaf087743898 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 May 2024 11:22:53 +0200 Subject: [PATCH] common: enable fail2ban --- common/configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/configuration.nix b/common/configuration.nix index c4fe092..57f7114 100644 --- a/common/configuration.nix +++ b/common/configuration.nix @@ -10,6 +10,8 @@ services.openssh.enable = true; services.openssh.settings.PermitRootLogin = lib.mkDefault "no"; + services.fail2ban.enable = true; + # Activate nix flakes. nix.settings.experimental-features = [ "nix-command" "flakes" ];