ctucx.git: nixfiles

ctucx' nixfiles

commit 194cfcea28a0cfbd05a20e2f8d507cf2fdfe2735
parent 25d8b45d19423b35d8a05c9ffe502aae429f2f47
Author: Leah (ctucx) <git@ctu.cx>
Date: Sun, 6 Oct 2024 13:32:15 +0200

machines/trabbi/fedi/gotosocial: update attachment size-limits
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/machines/trabbi/fedi/gotosocial.nix b/machines/trabbi/fedi/gotosocial.nix
@@ -59,9 +59,11 @@ in {
       storage-backend            = "local";
       storage-local-base-path    = "/var/lib/gotosocial/storage";
 
-      media-image-max-size       = 10000000;
+      media-local-max-size       = "50MiB";
+      media-remote-max-size      = "50MiB";
+
       media-remote-cache-days    = 3;
-      media-cleanup-from         = "02:00";
+      media-cleanup-from         = "01:00";
 
 
       smtp-host     = "trabbi.ctu.cx";