7 lines
183 B
Nix
7 lines
183 B
Nix
{
|
|
services.openssh.enable = true;
|
|
services.openssh.settings.X11Forwarding = true;
|
|
services.openssh.settings.PasswordAuthentication = false;
|
|
services.fail2ban.enable = true;
|
|
}
|