26 lines
302 B
Nix
26 lines
302 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
modulesPath,
|
|
...
|
|
}:
|
|
{
|
|
services = {
|
|
endlessh = {
|
|
enable = true;
|
|
port = 22;
|
|
};
|
|
|
|
openssh = {
|
|
enable = true;
|
|
ports = [ 54222 ];
|
|
settings = {
|
|
AllowUsers = [
|
|
"dev"
|
|
"root"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|