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;
openssh = {
# enable = true;
passwordAuthentication = false;
kbdInteractiveAuthentication = false;
permitRootLogin = "no";
openssh.settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
PermitRootLogin = "no";
};
udev.packages = with pkgs; [