fix: use correct ssh domain and port for gitea
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
This commit is contained in:
parent
e6b20e5def
commit
7520c9a86d
@ -1,5 +1,8 @@
|
|||||||
{ config, lib, ... }:
|
|
||||||
{
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
options.snowflake.services.gitea = {
|
options.snowflake.services.gitea = {
|
||||||
enable = lib.mkEnableOption "Enable gitea service";
|
enable = lib.mkEnableOption "Enable gitea service";
|
||||||
|
|
||||||
@ -60,7 +63,7 @@
|
|||||||
HTTP_ADDR = "127.0.0.1";
|
HTTP_ADDR = "127.0.0.1";
|
||||||
HTTP_PORT = config.snowflake.services.gitea.httpPort;
|
HTTP_PORT = config.snowflake.services.gitea.httpPort;
|
||||||
ROOT_URL = "https://${config.snowflake.services.gitea.domain}";
|
ROOT_URL = "https://${config.snowflake.services.gitea.domain}";
|
||||||
SSH_DOMAIN = "https://${config.snowflake.services.gitea.sshDomain}";
|
SSH_DOMAIN = config.snowflake.services.gitea.sshDomain;
|
||||||
SSH_PORT = config.snowflake.services.gitea.sshPort;
|
SSH_PORT = config.snowflake.services.gitea.sshPort;
|
||||||
};
|
};
|
||||||
service = {
|
service = {
|
||||||
|
Loading…
Reference in New Issue
Block a user