services.gitea.settings

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

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 <do-not-reply@example.org>";
    USER = "do-not-reply@example.org";
  };
  other = {
    SHOW_FOOTER_VERSION = false;
  };
}
Declared
<nixpkgs/nixos/modules/services/misc/gitea.nix>