mirror of
https://github.com/callumio/nixfiles.git
synced 2026-08-06 20:49:17 +01:00
16 lines
280 B
Nix
16 lines
280 B
Nix
{ ... }:
|
|
{
|
|
services = {
|
|
openssh = {
|
|
enable = true;
|
|
ports = [ 62480 ];
|
|
settings.PasswordAuthentication = false;
|
|
settings.PermitRootLogin = "no";
|
|
};
|
|
endlessh-go = {
|
|
enable = true;
|
|
port = 22;
|
|
openFirewall = true;
|
|
};
|
|
};
|
|
}
|