system: fix password authentication being on in ssh

I'm not sure what precisely is overriding it,
but it makes sense to require lib.mkForce if this were to be changed
This commit is contained in:
Elec3137 2026-02-20 20:08:18 -08:00
commit 04ea5a6556

View file

@ -78,8 +78,8 @@ in
security.sudo-rs.enable = lib.mkDefault true; security.sudo-rs.enable = lib.mkDefault true;
services.openssh = lib.mkDefault { services.openssh = {
enable = true; enable = lib.mkDefault true;
# only accept key authentication, for security # only accept key authentication, for security
settings.PasswordAuthentication = false; settings.PasswordAuthentication = false;