base: switch to new sshd settings format

This commit is contained in:
Antoine Martin 2023-06-01 19:23:39 +02:00
parent a7fdb7cebb
commit e237da22a6

View file

@ -9,11 +9,11 @@
};
services.openssh = {
passwordAuthentication = false;
permitRootLogin = "no";
extraConfig = ''
StreamLocalBindUnlink yes
'';
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
StreamLocalBindUnlink = true;
};
};
environment.systemPackages = builtins.attrValues {