This commit is contained in:
Ellie 2026-02-15 15:51:28 -08:00
parent cfb31d3b01
commit 4f4302b7b7
2 changed files with 35 additions and 1 deletions

View file

@ -1,7 +1,10 @@
{ ... }:
{
networking.firewall.interfaces.wg0.allowedTCPPorts = [ 3000 ];
networking.firewall.interfaces.wg0.allowedTCPPorts = [
3000
2222
];
services.forgejo = {
enable = true;
@ -11,6 +14,10 @@
ROOT_URL = "https://forgejo.ellie.town/";
HTTP_ADDR = "10.10.0.2";
HTTP_PORT = 3000;
START_SSH_SERVER = true;
SSH_DOMAIN = "forgejo.ellie.town";
SSH_PORT = 2222;
SSH_LISTEN_PORT = 2222;
};
};
}