diff --git a/README.org b/README.org index 2a2ecb1..2a286a1 100644 --- a/README.org +++ b/README.org @@ -755,7 +755,7 @@ Apply some configuration to the default settings: enable = true; settings = { PermitRootLogin = "no"; - PasswordAuthentication = "no"; + PasswordAuthentication = false; }; }; } diff --git a/modules/ssh.nix b/modules/ssh.nix index 21c2a2d..c7dfdae 100644 --- a/modules/ssh.nix +++ b/modules/ssh.nix @@ -6,7 +6,7 @@ enable = true; settings = { PermitRootLogin = "no"; - PasswordAuthentication = "no"; + PasswordAuthentication = false; }; }; }