common: enable fail2ban

This commit is contained in:
root 2024-05-31 11:22:53 +02:00
parent d7fc75a3fc
commit 26e139e21d

View file

@ -10,6 +10,8 @@
services.openssh.enable = true; services.openssh.enable = true;
services.openssh.settings.PermitRootLogin = lib.mkDefault "no"; services.openssh.settings.PermitRootLogin = lib.mkDefault "no";
services.fail2ban.enable = true;
# Activate nix flakes. # Activate nix flakes.
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];