From dde3eab15b4cec9b49a2e44f5e19cc93c4f13988 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Mon, 21 Oct 2024 00:08:16 -0400 Subject: [PATCH] firewall issues on gitea Signed-off-by: ahuston-0 --- systems/palatine-hill/gitea.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/systems/palatine-hill/gitea.nix b/systems/palatine-hill/gitea.nix index 7ddd815..3354980 100644 --- a/systems/palatine-hill/gitea.nix +++ b/systems/palatine-hill/gitea.nix @@ -20,15 +20,17 @@ in port = 5433; }; settings.server = { - domain = "git.alicehuston.xyz"; - rootUrl = "https://git.alicehuston.xyz/"; - httpPort = 443; + DOMAIN = "git.alicehuston.xyz"; + ROOT_URL = "https://git.alicehuston.xyz/"; + HTTP_PORT = 6443; }; stateDir = base_path; lfs.enable = true; recommendedDefaults = true; }; + networking.firewall.allowedTCPPorts = [ 6443 ]; + sops.secrets = { "gitea/dbpass".owner = "gitea"; };