Try using forgejo instead of gitea

This commit is contained in:
Bill Ewanick 2026-01-11 23:37:09 -05:00
parent 2a05e1888b
commit ee4ac1d7c8
2 changed files with 5 additions and 2 deletions

View file

@ -14,6 +14,7 @@
"emanote", "emanote",
"Ewanick", "Ewanick",
"fancytypist", "fancytypist",
"forgejo",
"ghcid", "ghcid",
"gitea", "gitea",
"gnused", "gnused",

View file

@ -2,9 +2,9 @@
baseUrl = "git.ewanick.com"; baseUrl = "git.ewanick.com";
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/git.ewanick.com"; PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/git.ewanick.com";
in { in {
services.gitea = { services.forgejo = {
enable = true; enable = true;
appName = "Bill's Gitea server, hosted on Linode using NixOS"; database.type = "postgres";
lfs.enable = true; lfs.enable = true;
settings = { settings = {
server = { server = {
@ -12,6 +12,7 @@ in {
ROOT_URL = "https://${baseUrl}/"; ROOT_URL = "https://${baseUrl}/";
HTTP_PORT = 3000; HTTP_PORT = 3000;
}; };
DEFAULT.APP_NAME = "Bill's Forgejo server, hosted on Linode using NixOS";
service.DISABLE_REGISTRATION = true; service.DISABLE_REGISTRATION = true;
actions = { actions = {
@ -22,6 +23,7 @@ in {
}; };
services.gitea-actions-runner = { services.gitea-actions-runner = {
package = pkgs.forgejo-runner;
instances.default = { instances.default = {
enable = true; enable = true;
name = "linode-nixos"; name = "linode-nixos";