10 lines
141 B
Nix
10 lines
141 B
Nix
{
|
|
services.fail2ban = {
|
|
enable = true;
|
|
jails.sshd = ''
|
|
enabled = true
|
|
port = 22
|
|
mode = aggressive
|
|
'';
|
|
};
|
|
}
|