From 22fb43fa63a0f9726248732197ab45add781a787 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Tue, 16 Dec 2025 22:12:23 +0900 Subject: [PATCH] kommode/gitea: increase max avatar sizes --- hosts/kommode/services/gitea/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/kommode/services/gitea/default.nix b/hosts/kommode/services/gitea/default.nix index fdc959f..27ea483 100644 --- a/hosts/kommode/services/gitea/default.nix +++ b/hosts/kommode/services/gitea/default.nix @@ -121,6 +121,10 @@ in { picture = { DISABLE_GRAVATAR = true; ENABLE_FEDERATED_AVATAR = false; + + AVATAR_MAX_FILE_SIZE = 1024 * 1024 * 5; + # NOTE: go any bigger than this, and gitea will freeze your gif >:( + AVATAR_MAX_ORIGIN_SIZE = 1024 * 1024 * 2; }; actions.ENABLED = true; ui = {