diff --git a/modules/defaults/base/sshd.nix b/modules/defaults/base/sshd.nix index 1242a54..3389414 100644 --- a/modules/defaults/base/sshd.nix +++ b/modules/defaults/base/sshd.nix @@ -11,7 +11,8 @@ with lib; HostbasedAuthentication = false; PermitEmptyPasswords = false; UseDns = false; - UsePAM = mkDefault true; + # disabling this breaks ssh login under nixos + UsePAM = true; }; # https://gitlab.com/gitlab-org/gitlab-foss/-/blob/master/doc/user/gitlab_com/index.md#ssh-host-keys-fingerprints