10 lines
206 B
Nix
10 lines
206 B
Nix
{ lib, ... }: {
|
|
services.openssh = {
|
|
enable = true;
|
|
settings = {
|
|
PermitRootLogin = lib.mkForce "no";
|
|
StreamLocalBindUnlink = "yes";
|
|
PasswordAuthentication = false;
|
|
};
|
|
};
|
|
}
|