From 566f22e61fa93868c3ec59c371d2eaaff4e5321f Mon Sep 17 00:00:00 2001 From: notohh Date: Fri, 6 Oct 2023 23:28:31 -0400 Subject: [PATCH] forgejo: enable ssh --- hosts/sakura/services/forgejo.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/sakura/services/forgejo.nix b/hosts/sakura/services/forgejo.nix index ed785c8..401d1d2 100644 --- a/hosts/sakura/services/forgejo.nix +++ b/hosts/sakura/services/forgejo.nix @@ -20,9 +20,14 @@ }; server = { HTTP_PORT = 3200; - DOMAIN = "git.notohh.dev"; + DOMAIN = "git.flake.sh"; ROOT_URL = "https://git.flake.sh"; LANDING_PAGE = "/explore/repos"; + START_SSH_SERVER = true; + SSH_DOMAIN = "git.flake.sh"; + SSH_PORT = 2222; + SSH_LISTEN_PORT = 2222; + SSH_LISTEN_HOST = "100.121.201.47"; }; database = { DB_TYPE = lib.mkForce "postgres"; -- 2.46.1