depot/modules/fail2ban/default.nix
2022-01-14 22:49:38 +01:00

10 lines
141 B
Nix

{
services.fail2ban = {
enable = true;
jails.sshd = ''
enabled = true
port = 22
mode = aggressive
'';
};
}