mirror of
https://github.com/callumio/nixfiles.git
synced 2025-12-17 11:39:19 +00:00
15 lines
276 B
Nix
15 lines
276 B
Nix
{...}: {
|
|
services = {
|
|
openssh = {
|
|
enable = true;
|
|
ports = [62480];
|
|
settings.PasswordAuthentication = false;
|
|
settings.PermitRootLogin = "no";
|
|
};
|
|
endlessh-go = {
|
|
enable = true;
|
|
port = 22;
|
|
openFirewall = true;
|
|
};
|
|
};
|
|
}
|