Change Gitea's rootUrl

This value defaults to localhost:3000, which works, but then Gitea
renders "http://localhost:3000/wpcarro/briefcase" as the URL to clone my
briefcase repository.
This commit is contained in:
William Carroll 2020-04-05 16:36:10 +01:00
parent 5e2f54b0fb
commit 5c378aadcb

View file

@ -81,7 +81,12 @@ in {
services.openssh.enable = true;
services.gitea.enable = true;
services.gitea = {
enable = true;
# Without this the links to clone a repository like briefcase will be
# "http://localhost:3000/wpcarro/briefcase".
rootUrl = "https://git.wpcarro.dev/";
};
systemd.services.monzo-token-server = {
enable = true;