From 96e6a6cc6394f330e4e296f1f08152fca652199f Mon Sep 17 00:00:00 2001 From: reidlab Date: Thu, 17 Aug 2023 23:36:50 -0700 Subject: [PATCH 1/2] update forgejo/gitea config --- hosts/server/configuration.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index 0dce8af..093f132 100755 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -168,7 +168,7 @@ enable = true; package = pkgs.forgejo; stateDir = "/var/lib/git.reidlab.online"; - appName = "Forgejo: reidlab.online git"; + appName = "reidlab's git instance"; database = { type = "postgres"; name = "gitea"; @@ -202,6 +202,9 @@ DEFAULT_ENABLE_TIMETRACKING = true; DISABLE_REGISTRATION = true; }; + "federation" = { + ENABLED = true; + }: }; }; services.nginx.virtualHosts."git.reidlab.online" = { From 9e42260f50d1f2b83f0f7390ab06f1db0918aa81 Mon Sep 17 00:00:00 2001 From: reidlab Date: Thu, 17 Aug 2023 23:43:31 -0700 Subject: [PATCH 2/2] fix typo, should prob test b4 commit --- hosts/server/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index 093f132..2324555 100755 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -204,7 +204,7 @@ }; "federation" = { ENABLED = true; - }: + }; }; }; services.nginx.virtualHosts."git.reidlab.online" = {