diff --git a/modules/core/sshd.nix b/modules/core/sshd.nix index fc139c1..2f7f332 100644 --- a/modules/core/sshd.nix +++ b/modules/core/sshd.nix @@ -1,10 +1,10 @@ -{ ... }: +{ lib, ... }: { services.openssh = { enable = true; ports = [22]; settings = { - PasswordAuthentication = false; + PasswordAuthentication = lib.mkDefault false; AllowUsers = null; PermitRootLogin = "no"; LoginGraceTime = 0;