voyager: adjust gitea

This commit is contained in:
Felix Albrigtsen 2023-06-29 23:31:55 +02:00
parent e7347ff4dc
commit 0f7361260c
1 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,7 @@ let
cfg = config.services.gitea;
domain = "git.feal.no";
httpPort = 3004;
/* sshPort = 2222; */
in {
services.gitea = {
enable = true;
@ -16,6 +17,8 @@ in {
server = {
LANDING_PAGE=''"/felixalb"'';
HTTP_PORT = httpPort;
/* SSH_PORT = sshPort; */
SSH_DOMAIN = "voyager.home.feal.no";
DOMAIN = domain;
ROOT_URL = "https://${domain}";
};
@ -48,5 +51,6 @@ in {
# - configure mailer
};
/* networking.firewall.allowedTCPPorts = [ httpPort sshPort ]; */
networking.firewall.allowedTCPPorts = [ httpPort ];
}