🐛 fix ssh passwordAuthentication being enabled

nixos
Moritz Böhme 2022-03-23 12:35:53 +01:00
parent 45924de79e
commit f206d828e6
No known key found for this signature in database
GPG Key ID: 213820E2795F5CF5
1 changed files with 1 additions and 1 deletions

View File

@ -78,5 +78,5 @@
security.sudo.enable = lib.mkDefault (!config.security.doas.enable); security.sudo.enable = lib.mkDefault (!config.security.doas.enable);
# Disable ssh password login # Disable ssh password login
services.openssh.passwordAuthentication = config.services.openssh.enable; services.openssh.passwordAuthentication = lib.mkDefault false;
} }