feat(security): fail2ban setup

This commit is contained in:
Khaïs COLIN 2024-08-27 15:36:49 +02:00
parent bfad25f0b2
commit 6dc2894c43
2 changed files with 7 additions and 0 deletions

View file

@ -6,6 +6,7 @@ in
imports = [
./hardware-configuration.nix
./firewall.nix
./fail2ban.nix
./borgbackup.nix
./ftp.nix

6
fail2ban.nix Normal file
View file

@ -0,0 +1,6 @@
{
services.fail2ban = {
enable = true;
maxretry = 25;
};
}