diff --git a/sshd.nix b/sshd.nix index bd049c2..4990bf8 100644 --- a/sshd.nix +++ b/sshd.nix @@ -3,7 +3,9 @@ { services.openssh = { enable = true; - passwordAuthentication = true; + settings = { + PasswordAuthentication = false; + }; }; }