1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
{ config, pkg, ... }: { services.openssh = { enable = true; hostKeys = [ { path = "/srv/sshd/ssh_host_ed25519_key"; rounds = 1000; type = "ed25519"; } ]; settings = { PasswordAuthentication = false; }; }; }