From 539e5406f81236f56bef3d221234aee57f4e271c Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L de Mello" Date: Mon, 8 Jun 2026 22:51:19 -0300 Subject: [PATCH] fix(capytal,gitea): allow .bbmodel file extension --- services/capytal/gitea.nix | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/services/capytal/gitea.nix b/services/capytal/gitea.nix index ff9aba7..12c4f0f 100644 --- a/services/capytal/gitea.nix +++ b/services/capytal/gitea.nix @@ -119,6 +119,48 @@ in { federation = { ENABLED = true; }; + attachment = { + ENABLED = true; + ALLOWED_TYPES = initList [ + ".avif" + ".bbmodel" + ".cpuprofile" + ".csv" + ".dmp" + ".docx" + ".fodg" + ".fodp" + ".fods" + ".fodt" + ".gif" + ".gz" + ".jpeg" + ".jpg" + ".json" + ".jsonc" + ".log" + ".md" + ".mov" + ".mp4" + ".odf" + ".odg" + ".odp" + ".ods" + ".odt" + ".patch" + ".pdf" + ".png" + ".pptx" + ".svg" + ".tgz" + ".txt" + ".webm" + ".webp" + ".xls" + ".xlsx" + ".zip" + ]; + }; # lfs = {}; # storage = { # STORAGE_TYPE = "minio";