mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
update
This commit is contained in:
8
hosts/server/modules/internal/security.nix
Normal file
8
hosts/server/modules/internal/security.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
# Firewall & fail2ban
|
||||
{
|
||||
networking.firewall.enable = true;
|
||||
services.fail2ban = {
|
||||
enable = true;
|
||||
maxretry = 5;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user