Files
config/profiles/sshd/default.nix
2025-02-22 13:09:59 +01:00

8 lines
249 B
Nix

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