{...}: { services.openssh = { enable = true; allowSFTP = false; openFirewall = false; settings = { PermitRootLogin = "no"; }; hostKeys = [ { path = "/srv/var/lib/sshd/ssh_host_ed25519_key"; rounds = 1000; type = "ed25519"; } ]; }; }