diff --git a/modules/openssh.nix b/modules/openssh.nix index c27ae0a..4a7b159 100644 --- a/modules/openssh.nix +++ b/modules/openssh.nix @@ -3,12 +3,15 @@ { services.openssh = { enable = true; - passwordAuthentication = true; listenAddresses = [ { addr = "192.168.1.0/24"; port = "22"; } ]; + + settings { + PasswordAuthentication = true; + }; }; } \ No newline at end of file