Jump to content

Gitea: Difference between revisions

From Official NixOS Wiki
Phobos (talk | contribs)
mNo edit summary
Phobos (talk | contribs)
mNo edit summary
 
Line 8: Line 8:
   enable = true;
   enable = true;
   database.type = "mysql";
   database.type = "mysql";
   settings.service.DISABLE_REGISTRATION = true;
   #settings.service.DISABLE_REGISTRATION = true;
};|name=/etc/nixos/configuration.nix|lang=nix}}
};|name=/etc/nixos/configuration.nix|lang=nix}}



Latest revision as of 02:15, 20 January 2026

Gitea is a web app, Git development repository and project manager.

Installation

To setup Gitea locally, this is the most minimal configuration to get started. Find additional configuration options under services.gitea.

❄︎ /etc/nixos/configuration.nix
services.gitea = {
  enable = true;
  database.type = "mysql";
  #settings.service.DISABLE_REGISTRATION = true;
};

After that, the web frontend will be available at http://localhost:3000

See also

  • Gitlab, a web application offers git repository management, code reviews, issue tracking, activity feeds and wikis.
  • Forgejo, a web application offers Git development repositories and project management. Community fork of Gitea.