From c954c32ae14a4c3b1a8317ab5f53033378aed604 Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Thu, 14 Nov 2024 13:49:26 +0100 Subject: [PATCH] Attempt to make forgejo ssh work (again) --- hosts/nixos/lapetus/services/forgejo.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/nixos/lapetus/services/forgejo.nix b/hosts/nixos/lapetus/services/forgejo.nix index df3ea5d..8d3dc81 100644 --- a/hosts/nixos/lapetus/services/forgejo.nix +++ b/hosts/nixos/lapetus/services/forgejo.nix @@ -9,7 +9,7 @@ satellite.cloudflared.at.git.port = config.satellite.ports.forgejo; satellite.cloudflared.at."ssh.git" = { protocol = "ssh"; - port = config.satellite.ports.forgejo-ssh; + port = 22; # default ssh port }; services.forgejo = { @@ -32,8 +32,8 @@ # START_SSH_SERVER = true; # BUILTIN_SSH_SERVER_USER = "git"; + # SSH_LISTEN_PORT = config.satellite.ports.forgejo-ssh; SSH_DOMAIN = config.satellite.cloudflared.at."ssh.git".host; - SSH_LISTEN_PORT = config.satellite.ports.forgejo-ssh; }; cron.ENABLED = true;