MyNixOS website logo
option

services.gitea.settings

Gitea configuration. Refer to https://docs.gitea.io/en-us/config-cheat-sheet/ for details on supported values.

Declarations
Type
open submodule of attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))
Default
{ }
Example
{
  "cron.sync_external_users" = {
    RUN_AT_START = true;
    SCHEDULE = "@every 24h";
    UPDATE_EXISTING = true;
  };
  mailer = {
    ENABLED = true;
    PROTOCOL = "smtp+starttls";
    SMTP_ADDR = "smtp.example.org";
    SMTP_PORT = "587";
    FROM = "Gitea Service <[email protected]>";
    USER = "[email protected]";
  };
  other = {
    SHOW_FOOTER_VERSION = false;
  };
}
</[email protected]>