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