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