Files
config/profiles/sshd.nix
2024-05-31 00:01:16 +02:00

7 lines
183 B
Nix

{
services.openssh.enable = true;
services.openssh.settings.X11Forwarding = true;
services.openssh.settings.PasswordAuthentication = false;
services.fail2ban.enable = true;
}