Fix ssh for forgejo

This commit is contained in:
Henry Hiles 2025-03-25 18:00:50 -04:00
parent 587ea99786
commit b3cab04f1d
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
2 changed files with 4 additions and 2 deletions

View file

@ -3,5 +3,5 @@
enable = true; enable = true;
email = "henry@henryhiles.com"; email = "henry@henryhiles.com";
}; };
networking.firewall.allowedTCPPorts = [2200 443]; networking.firewall.allowedTCPPorts = [2222 443];
} }

View file

@ -19,7 +19,9 @@
ROOT_URL = "https://${domain}"; ROOT_URL = "https://${domain}";
HTTP_ADDR = socket; HTTP_ADDR = socket;
PROTOCOL = "http+unix"; PROTOCOL = "http+unix";
SSH_LISTEN_PORT = 2200; START_SSH_SERVER = true;
SSH_LISTEN_PORT = 2222;
BUILTIN_SSH_SERVER_USER = "git";
}; };
}; };
}; };