common: update openssh setting API

This commit is contained in:
Oystein Kristoffer Tveit 2023-05-08 02:08:28 +02:00
parent 78939bbb55
commit f8c06f985e
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 4 additions and 5 deletions

View File

@ -226,11 +226,10 @@ in {
resolved.enable = true; resolved.enable = true;
openssh = { openssh.settings = {
# enable = true; PasswordAuthentication = false;
passwordAuthentication = false; KbdInteractiveAuthentication = false;
kbdInteractiveAuthentication = false; PermitRootLogin = "no";
permitRootLogin = "no";
}; };
udev.packages = with pkgs; [ udev.packages = with pkgs; [