diff --git a/nixos/ssh.nix b/nixos/ssh.nix index 4a86f67d..0c9df4a7 100644 --- a/nixos/ssh.nix +++ b/nixos/ssh.nix @@ -16,5 +16,8 @@ }; }; - services.openssh.enable = true; + services.openssh = { + enable = true; + passwordAuthentication = false; + }; }