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 = {