nixos/services/fail2ban/default.nix

8 lines
156 B
Nix
Raw Normal View History

2023-05-17 17:10:18 +01:00
{...}: {
2023-05-16 11:04:48 +01:00
services.fail2ban = {
enable = true;
2023-05-17 17:10:18 +01:00
ignoreIP = ["127.0.0.1/8" "::1" "192.168.1.0/16"];
bantime-increment = {enable = true;};
2023-05-16 11:04:48 +01:00
};
}