diff options
Diffstat (limited to 'system/services/openssh')
-rw-r--r-- | system/services/openssh/default.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/services/openssh/default.nix b/system/services/openssh/default.nix new file mode 100644 index 0000000..1bb37ee --- /dev/null +++ b/system/services/openssh/default.nix @@ -0,0 +1,13 @@ +{...}: { + services.openssh = { + enable = true; + settings.PasswordAuthentication = false; + hostKeys = [ + { + path = "/srv/sshd/ssh_host_ed25519_key"; + rounds = 1000; + type = "ed25519"; + } + ]; + }; +} |