depot/modules/fail2ban/default.nix

11 lines
141 B
Nix
Raw Normal View History

2021-10-16 15:31:10 +03:00
{
services.fail2ban = {
enable = true;
jails.sshd = ''
enabled = true
port = 22
mode = aggressive
'';
};
}