Gitea: Difference between revisions

Onny (talk | contribs)
Phobos (talk | contribs)
m Updated incorrect syntax
Line 5: Line 5:
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


{{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