From 8faf83158f9e5de20ac405ac2bb107264a6ebe89 Mon Sep 17 00:00:00 2001 From: June Date: Tue, 16 Jan 2024 20:35:56 +0100 Subject: [PATCH] Disable HTTP Basic authentication and set default repo units for Forgejo --- config/hosts/git/forgejo.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/hosts/git/forgejo.nix b/config/hosts/git/forgejo.nix index f907552..342a06a 100644 --- a/config/hosts/git/forgejo.nix +++ b/config/hosts/git/forgejo.nix @@ -43,6 +43,10 @@ ALLOW_ONLY_EXTERNAL_REGISTRATION = true; DEFAULT_USER_VISIBILITY = "limited"; DEFAULT_KEEP_EMAIL_PRIVATE = true; + ENABLE_BASIC_AUTHENTICATION = false; + }; + repo = { + DEFAULT_REPO_UNITS = "repo.code,repo.issues,repo.pulls"; }; mailer = { ENABLED = true;