14 lines
201 B
Nix
14 lines
201 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
services.openssh = {
|
||
|
enable = true;
|
||
|
settings = {
|
||
|
PermitRootLogin = "no";
|
||
|
PasswordAuthentication = false;
|
||
|
};
|
||
|
ports = [ 48654 ];
|
||
|
openFirewall = true;
|
||
|
};
|
||
|
}
|