mirror of
https://git.feal.no/felixalb/nixos-config.git
synced 2025-10-06 04:53:57 +02:00
voyager: adjust gitea
This commit is contained in:
@@ -3,6 +3,7 @@ let
|
|||||||
cfg = config.services.gitea;
|
cfg = config.services.gitea;
|
||||||
domain = "git.feal.no";
|
domain = "git.feal.no";
|
||||||
httpPort = 3004;
|
httpPort = 3004;
|
||||||
|
/* sshPort = 2222; */
|
||||||
in {
|
in {
|
||||||
services.gitea = {
|
services.gitea = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -16,6 +17,8 @@ in {
|
|||||||
server = {
|
server = {
|
||||||
LANDING_PAGE=''"/felixalb"'';
|
LANDING_PAGE=''"/felixalb"'';
|
||||||
HTTP_PORT = httpPort;
|
HTTP_PORT = httpPort;
|
||||||
|
/* SSH_PORT = sshPort; */
|
||||||
|
SSH_DOMAIN = "voyager.home.feal.no";
|
||||||
DOMAIN = domain;
|
DOMAIN = domain;
|
||||||
ROOT_URL = "https://${domain}";
|
ROOT_URL = "https://${domain}";
|
||||||
};
|
};
|
||||||
@@ -48,5 +51,6 @@ in {
|
|||||||
# - configure mailer
|
# - configure mailer
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* networking.firewall.allowedTCPPorts = [ httpPort sshPort ]; */
|
||||||
networking.firewall.allowedTCPPorts = [ httpPort ];
|
networking.firewall.allowedTCPPorts = [ httpPort ];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user