moved common out of systems

This commit is contained in:
Richie committed 2024-10-25 16:47:36 -04:00
1 parent 84ad676d17
commit f706463500
26 files changed
+19 -19

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
{ config, lib, ... }:
{
services.fail2ban = {
enable = lib.mkIf config.networking.firewall.enable (lib.mkDefault true);
maxretry = 5;
bantime = "24h";
bantime-increment = {
enable = true;
formula = "ban.Time * math.exp(float(ban.Count+1)*banFactor)/math.exp(1*banFactor)";
maxtime = "168h";
overalljails = true;
};
};
}