diff --git a/.vscode/settings.json b/.vscode/settings.json index d9f5fd8..64d45fa 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -14,6 +14,7 @@ "emanote", "Ewanick", "fancytypist", + "forgejo", "ghcid", "gitea", "gnused", diff --git a/nixos-apps/git.ewanick.com.nix b/nixos-apps/git.ewanick.com.nix index c91a73c..8dce372 100644 --- a/nixos-apps/git.ewanick.com.nix +++ b/nixos-apps/git.ewanick.com.nix @@ -2,9 +2,9 @@ baseUrl = "git.ewanick.com"; PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/git.ewanick.com"; in { - services.gitea = { + services.forgejo = { enable = true; - appName = "Bill's Gitea server, hosted on Linode using NixOS"; + database.type = "postgres"; lfs.enable = true; settings = { server = { @@ -12,6 +12,7 @@ in { ROOT_URL = "https://${baseUrl}/"; HTTP_PORT = 3000; }; + DEFAULT.APP_NAME = "Bill's Forgejo server, hosted on Linode using NixOS"; service.DISABLE_REGISTRATION = true; actions = { @@ -22,6 +23,7 @@ in { }; services.gitea-actions-runner = { + package = pkgs.forgejo-runner; instances.default = { enable = true; name = "linode-nixos";