ctucx.git: nixfiles

ctucx' nixfiles

commit e0a689f88c0dcc4da4562e102eed237b327cdb22
parent f0c823b8bfa9d0731e1495130bf7fe2cfeff4a0e
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";