Gitea: Difference between revisions

Phobos (talk | contribs)
mNo edit summary
Phobos (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
== 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|3=services.gitea = {
{{File|3=services.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}}
};|name=/etc/nixos/configuration.nix|lang=nix}}