From 61ae9b1c226ce003708bee6a9cd48573233906ff Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Thu, 29 Jun 2023 23:31:55 +0200 Subject: [PATCH] voyager: adjust gitea --- hosts/voyager/services/gitea.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/voyager/services/gitea.nix b/hosts/voyager/services/gitea.nix index 728da7b..1385815 100644 --- a/hosts/voyager/services/gitea.nix +++ b/hosts/voyager/services/gitea.nix @@ -3,6 +3,7 @@ let cfg = config.services.gitea; domain = "git.feal.no"; httpPort = 3004; + /* sshPort = 2222; */ in { services.gitea = { enable = true; @@ -16,6 +17,8 @@ in { server = { LANDING_PAGE=''"/felixalb"''; HTTP_PORT = httpPort; + /* SSH_PORT = sshPort; */ + SSH_DOMAIN = "voyager.home.feal.no"; DOMAIN = domain; ROOT_URL = "https://${domain}"; }; @@ -48,5 +51,6 @@ in { # - configure mailer }; + /* networking.firewall.allowedTCPPorts = [ httpPort sshPort ]; */ networking.firewall.allowedTCPPorts = [ httpPort ]; }