Push these changes to a branch cause I'm kind of giving up
This commit is contained in:
parent
d9469fc321
commit
e3bacb2d84
229 changed files with 1496 additions and 1479 deletions
8
system/services/ssh/fail2ban/default.nix
Normal file
8
system/services/ssh/fail2ban/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ outputs, ... }: {
|
||||
services.fail2ban = {
|
||||
enable = true;
|
||||
maxretry = 5;
|
||||
bantime = "5m";
|
||||
ignoreIP = [ "${outputs.ips.localSpan}.0/24" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue