diff --git a/system/server/forgejo.nix b/system/server/forgejo.nix index df2c29a..acbd5d5 100644 --- a/system/server/forgejo.nix +++ b/system/server/forgejo.nix @@ -12,7 +12,7 @@ in { request_body { max_size 512M } - reverse_proxy localhost:9004 + reverse_proxy unix/${config.services.forgejo.settings.server.HTTP_ADDR} ''; services.forgejo = { @@ -21,10 +21,16 @@ in { lfs.enable = true; settings = { + APP_NAME = "JSW Git"; + APP_SLOGAN = "We be gitting."; + + cors.ENABLED = true; server = { inherit DOMAIN; ROOT_URL = "https://${DOMAIN}/"; - HTTP_PORT = 9004; + PROTOCOL = "http+unix"; + DISABLE_SSH = true; + LANDING_PAGE = "explore"; }; service = { ENABLE_INTERNAL_SIGNIN = false; @@ -36,7 +42,8 @@ in { }; "ui.meta" = { AUTHOR = "JSW Git"; - DESCRIPTION = "Personal GIT-Forgejo instance."; + DESCRIPTION = "Jsw's Git Forge, a self-hosted Forgejo instance."; + KEYWORDS = "jsw,jsw08,jurnwubben,jurn,git,gitea,forgejo,forge"; }; actions = { ENABLED = true;