From ca895df9f3a137b6e8e4cd7cba74bdf6efafbd37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Bourdeauducq?= Date: Thu, 6 Jun 2024 16:27:39 +0800 Subject: [PATCH] nixbld: switch to gitea built-in SSH server --- nixbld-etc-nixos/configuration.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 51a8cf37..c69a6ce4 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -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 = {