fix: set lib.mkDefault false for SSH -> PasswordAuthentication

This commit is contained in:
Ahwx 2024-10-18 20:35:28 +02:00
parent a20639e029
commit 312754fe05

View file

@ -1,10 +1,10 @@
{ ... }:
{ lib, ... }:
{
services.openssh = {
enable = true;
ports = [22];
settings = {
PasswordAuthentication = false;
PasswordAuthentication = lib.mkDefault false;
AllowUsers = null;
PermitRootLogin = "no";
LoginGraceTime = 0;