{ ... }: { services.forgejo = { enable = true; database.type = "postgres"; lfs.enable = false; settings = { session.COOKIE_SECURE = true; server = { DOMAIN = "code.fcuny.net"; ROOT_URL = "https://code.fcuny.net"; HTTP_PORT = 3000; HTTP_ADDR = "10.100.0.40"; }; metrics = { ENABLED = true; ENABLED_ISSUE_BY_LABEL = true; ENABLED_ISSUE_BY_REPOSITORY = true; }; service.DISABLE_REGISTRATION = true; }; }; }