Jump to content

Gitea: Difference between revisions

From Official NixOS Wiki
Onny (talk | contribs)
Phobos (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[https://www.gitea.com Gitea] is a web app, Git development repository and project management.
[https://www.gitea.com Gitea] is a web app, Git development repository and project manager.


== Installation ==
== Installation ==


To setup Gitea locally, this is the most minimal configuration to get started
To setup Gitea locally, this is the most minimal configuration to get started. Find additional configuration options under [https://search.nixos.org/options?&query=services.gitea services.gitea].


{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{File|3=services.gitea = {
gitea = {
   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}}
</nowiki>}}


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

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.