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