nixbld: switch to gitea built-in SSH server

This commit is contained in:
Sébastien Bourdeauducq 2024-06-06 16:27:39 +08:00
parent 4e6686dbe9
commit ca895df9f3
1 changed files with 5 additions and 1 deletions

View File

@ -87,7 +87,7 @@ in
hostName = "nixbld";
hostId = "e423f012";
firewall = {
allowedTCPPorts = [ 53 80 443 7402 ];
allowedTCPPorts = [ 53 80 443 2222 7402 ];
allowedUDPPorts = [ 53 67 500 4500 ];
trustedInterfaces = [ netifLan ];
};
@ -750,6 +750,10 @@ in
server = {
ROOT_URL = "https://git.m-labs.hk/";
HTTP_PORT = 3001;
DISABLE_SSH = false;
SSH_CREATE_AUTHORIZED_KEYS_FILE = false;
START_SSH_SERVER = true;
SSH_PORT = 2222;
};
indexer = {