1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 03:27:45 +00:00

Add fail2ban

This commit is contained in:
RGBCube 2024-01-03 08:33:40 +03:00
parent 22907209f0
commit eca260af5a
No known key found for this signature in database
2 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View file

@ -14,6 +14,7 @@
!modules/discord/
!modules/dunst/
!modules/endlessh/
!modules/fail2ban/
!modules/firefox/
!modules/fonts/
!modules/fuzzel/

View file

@ -0,0 +1,10 @@
{ ulib, ... }: with ulib;
serverSystemConfiguration {
services.fail2ban = enabled {
bantime = "24h";
bantime-increment = enabled {
maxtime = "7d";
};
};
}