updated maximum media and emoji size for gotosocial
Some checks failed
/ Check formatting (push) Failing after 1m43s

This commit is contained in:
Ittihadyya 2024-12-20 10:04:19 +02:00
parent 786573148a
commit 6bec438bc3
2 changed files with 4 additions and 32 deletions

View file

@ -1,28 +0,0 @@
{
glucose.modules = [
(
{
pkgs,
config,
lib,
...
}: {
services.murmur = {
enable = true;
environmentFile = "${config.sops.templates."murmur.env.secrets.yaml".path}";
# the environment variables are provided by, evidently, the environment file.
welcometext = "$MURMUR_WELCOME_MESSAGE";
# registerPassword = "$MURMUR_REGISTRY_PASSWORD"; # removed as we realized we don't actually want it to be a public server.
password = "$MURMUR_LOGIN_PASSWORD";
port = 64738; # tcp/udp - this is the default but i'm writing it out as to not have to dig into the declaration every time i need to know which port it is.
openFirewall = false;
registerName = "Adyya's cave of hushed tones";
registerUrl = "https://mumble.collective-conciousness.monster";
registerHostname = "mumble.collective-conciousness.mosnter"; # i vaguely know what the difference between these two are but it is a bit strange, i guess.
};
}
)
];
}

View file

@ -71,12 +71,12 @@
accounts-custom-css-length = 10000; accounts-custom-css-length = 10000;
### Media config ### Media config
media-local-max-size = "1GiB"; media-local-max-size = "2GiB";
media-remote-max-size = "50MiB"; media-remote-max-size = "250MiB";
media-description-min-chars = 36; media-description-min-chars = 36;
media-description-max-chars = 16200; media-description-max-chars = 16200;
media-emoji-local-max-size = "128KiB"; # may need to increase this in the future. media-emoji-local-max-size = "512KiB"; # may need to increase this in the future.
media-emoji-remote-max-size = "256KiB"; media-emoji-remote-max-size = "512KiB";
media-ffmpeg-pool-size = 2; media-ffmpeg-pool-size = 2;
media-remote-cache-days = 7; media-remote-cache-days = 7;
media-cleanup-from = "01:00"; media-cleanup-from = "01:00";