feat: add more service options and change Gitea to Forgejo

This commit is contained in:
Inex Code
2024-06-30 21:47:08 +04:00
parent 8ce34bdd8d
commit 2b2551e5ba
3 changed files with 61 additions and 11 deletions

View File

@@ -13,6 +13,10 @@ in
default = "meet";
type = lib.types.strMatching "[A-Za-z0-9][A-Za-z0-9\-]{0,61}[A-Za-z0-9]";
};
appName = lib.mkOption {
default = "Jitsi Meet";
type = lib.types.str;
};
};
config = lib.mkIf cfg.enable {
@@ -23,6 +27,12 @@ in
interfaceConfig = {
SHOW_JITSI_WATERMARK = false;
SHOW_WATERMARK_FOR_GUESTS = false;
APP_NAME = cfg.appName;
};
config = {
prejoinConfig = {
enabled = true;
};
};
};
services.nginx.virtualHosts."${cfg.subdomain}.${domain}" = {