16 lines
236 B
Nix
16 lines
236 B
Nix
|
{ pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
services.openssh = {
|
||
|
enable = true;
|
||
|
settings = {
|
||
|
passwordAuthentication = false;
|
||
|
PermitRootLogin = "prohibit-password";
|
||
|
startWhenNeeded = true;
|
||
|
};
|
||
|
ports = [
|
||
|
2200
|
||
|
];
|
||
|
};
|
||
|
}
|