Switch from gitea to forgejo

This commit is contained in:
TEC 2023-06-24 13:16:32 +08:00
parent 3361b7ea02
commit 921aba8bfa
Signed by: tec
SSH Key Fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A
5 changed files with 8 additions and 6 deletions

View File

@ -26,7 +26,7 @@
admin
hardware-hetzner
agenix.nixosModule
gitea
forgejo
caddy
];
};

View File

@ -24,7 +24,7 @@ For now, you can find an increasing number of my projects on git.tecosaur.net,
this includes the setup for this server, which is being constructed using:
+ NixOS (with flakes and deploy-rs)
+ Caddy (web server)
+ Gitea (personal software forge)
+ Forgejo (personal software forge)
In future, the following may be set up too:
+ Dendrite/Conduit (Matrix servers)

View File

@ -14,6 +14,7 @@
};
services.gitea = {
package = pkgs.forgejo;
enable = true;
user = "gitea";
appName = "Code by TEC";
@ -33,7 +34,7 @@
mailer = {
ENABLED = true;
PROTOCOL = "smtp+startls";
FROM = "gitea@tecosaur.net";
FROM = "forgejo@git.tecosaur.net";
USER = "tec@tecosaur.net";
HOST = "smtp.fastmail.com:587";
};
@ -57,6 +58,7 @@
# };
ui = {
GRAPH_MAX_COMMIT_NUM = 200;
DEFAULT_THEME = "auto";
THEME_COLOR_META_TAG = "#609926";
};
"ui.meta" = {
@ -80,6 +82,6 @@
systemd.tmpfiles.rules = [
"L+ ${config.services.gitea.stateDir}/custom/templates/home.tmpl - - - - ${./template-home.tmpl}"
"L+ ${config.services.gitea.stateDir}/custom/public/img/tree-gitea-themed.svg - - - - ${./tree-gitea-themed.svg}"
"L+ ${config.services.gitea.stateDir}/custom/public/img/tree-greentea-themed.svg - - - - ${./tree-greentea-themed.svg}"
];
}

View File

@ -9,7 +9,7 @@
<div>
<img class="logo" width="120" height="120" src="{{AssetUrlPrefix}}/img/tree-gitea-themed.svg"/>
</div>
<h3>Thanks to Gitea, a painless, self-hosted Git service.</h3>
<h3>Thanks to Forgejo, a painless, self-hosted Git service.</h3>
<br /> <hr style="color: var(--color-primary-dark-3);" /> <br />
<div style="text-align: left; font-size: 1.25em; line-height: 1.5;">
<p>Git is the foremost
@ -40,7 +40,7 @@
<dt><b>ForgeFed</b></dt>
<dd>I'm wildly excited for
<a href="https://forgefed.org/" style="color: var(--color-primary);">ForgeFed</a>,
and soon™ it should be possible to make PRs <em>across</em> Gitea
and soon™ it should be possible to make PRs <em>across</em> Forgejo
instances 🤯 (and anyone else implementing the ForgeFed protocol).</dd>
</dl>
</div>

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB