From 6d7a0f8202ba1dcb9b6a48c4cbe80f88b30b9e90 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 7 Jan 2025 02:03:40 +0000 Subject: [PATCH] hetznix: re-enable forgejo and fix SSH issue --- nix/hosts/hetznix/services/forgejo.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nix/hosts/hetznix/services/forgejo.nix b/nix/hosts/hetznix/services/forgejo.nix index d7df3b4..d6253a2 100644 --- a/nix/hosts/hetznix/services/forgejo.nix +++ b/nix/hosts/hetznix/services/forgejo.nix @@ -3,12 +3,14 @@ { services = { forgejo = { - enable = false; + enable = true; settings = { server = { DOMAIN = "code.oliverdavies.uk"; HTTP_PORT = 2223; + ROOT_URL = "https://${config.services.forgejo.settings.server.DOMAIN}"; + SSH_DOMAIN = "ssh.code.oliverdavies.uk"; }; service = {