Try using forgejo instead of gitea
This commit is contained in:
parent
2a05e1888b
commit
ee4ac1d7c8
2 changed files with 5 additions and 2 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue