From 376c587f0b0a83c03bdc13b9901f9d963fe18f82 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 18 Jan 2024 23:45:54 +0100 Subject: [PATCH] Maybe host ssh on a different port than the website huh --- nixos/server/package-configs/forgejo/configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/server/package-configs/forgejo/configuration.nix b/nixos/server/package-configs/forgejo/configuration.nix index ae49468..1ecd91b 100644 --- a/nixos/server/package-configs/forgejo/configuration.nix +++ b/nixos/server/package-configs/forgejo/configuration.nix @@ -19,7 +19,7 @@ sops.secrets."mailpassunhash".mode = "0440"; sops.secrets."mailpassunhash".owner = config.users.users.virtualMail.name; - networking.firewall.allowedTCPPorts = [3218]; + networking.firewall.allowedTCPPorts = [2228]; services.forgejo = { @@ -63,7 +63,7 @@ HTTP_PORT = 3218; DISABLE_SSH = false; START_SSH_SERVER = true; - SSH_DOMAIN = "git.lillianviolet.dev"; + SSH_DOMAIN = "git.lillianviolet.dev:2228"; }; }; };