fix: use mkForce for PasswordAuthentication to override upstream module default

This commit is contained in:
2026-06-05 22:45:30 -04:00
parent b66ffadb79
commit a0a6663793

View File

@@ -17,7 +17,7 @@
services.openssh = { services.openssh = {
enable = true; enable = true;
settings.PermitRootLogin = "prohibit-password"; settings.PermitRootLogin = "prohibit-password";
settings.PasswordAuthentication = false; settings.PasswordAuthentication = lib.mkForce false;
}; };
# User # User