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:
parent
b646befedf
commit
04ea5a6556
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue