{ config, pkg, ... }: { services.openssh = { enable = true; passwordAuthentication = false; hostKeys = [ { comment = "key comment"; path = "/srv/sshd/ssh_host_ed25519_key"; rounds = 1000; type = "ed25519"; } ]; }; }