base: switch to new sshd settings format
This commit is contained in:
parent
a7fdb7cebb
commit
e237da22a6
|
@ -9,11 +9,11 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
passwordAuthentication = false;
|
settings = {
|
||||||
permitRootLogin = "no";
|
PasswordAuthentication = false;
|
||||||
extraConfig = ''
|
PermitRootLogin = "no";
|
||||||
StreamLocalBindUnlink yes
|
StreamLocalBindUnlink = true;
|
||||||
'';
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = builtins.attrValues {
|
environment.systemPackages = builtins.attrValues {
|
||||||
|
|
Loading…
Reference in a new issue