nixos/virtualisation/linode-image: Migrate to new openssh options.

This commit is contained in:
Vanilla 2023-02-12 12:29:13 +08:00
parent c6a1db8ef2
commit 3ba3e20347
No known key found for this signature in database
GPG key ID: 3750028ED04FA42E

View file

@ -6,8 +6,8 @@ with lib;
services.openssh = {
enable = true;
permitRootLogin = "prohibit-password";
passwordAuthentication = mkDefault false;
settings.PermitRootLogin = "prohibit-password";
settings.PasswordAuthentication = mkDefault false;
};
networking = {