From f1f74dc3afb3b117ecbfbbdca806ac2ce50caa47 Mon Sep 17 00:00:00 2001 From: Peter Edley Date: Sat, 19 Sep 2026 14:54:58 +0100 Subject: [PATCH] fix(gitea): allow anonymous browsing of public repos Remove REQUIRE_SIGNIN_VIEW so public repos are viewable without login; registration stays disabled and private repos still require auth. --- modules/services/gitea.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/services/gitea.nix b/modules/services/gitea.nix index d44bc0b..f71c688 100644 --- a/modules/services/gitea.nix +++ b/modules/services/gitea.nix @@ -73,7 +73,9 @@ }; service = { DISABLE_REGISTRATION = true; - REQUIRE_SIGNIN_VIEW = true; + # Allow anonymous browsing of public repos; private content still + # requires login. (REQUIRE_SIGNIN_VIEW would hide even public repos.) + REQUIRE_SIGNIN_VIEW = false; SHOW_REGISTRATION_BUTTON = false; }; security = {