feat: increased character limit to 5000

This commit is contained in:
Nick 2025-11-21 21:55:56 -06:00
parent c175d118c6
commit 8c4d36d89b
2 changed files with 33 additions and 28 deletions

View file

@ -57,6 +57,16 @@ in
# If you really fuck up and name yourself wrong, use this shit
# sudo mastodon-tootctl accounts modify username --remove-role
nixpkgs.overlays = [
(final: prev: {
mastodon = prev.mastodon.overrideAttrs (oldAttrs: {
patches = (oldAttrs.patches or [ ]) ++ [
./config/chars.patch
];
});
})
];
microvm.vms = {
${serviceCfg.name} = {
autostart = true;
@ -88,6 +98,15 @@ in
SMTP_ENABLE_STARTTLS_AUTO = "true";
SMTP_SSL = "false";
};
# if you're starting from scratch, you gotta cd into /var/lib/mastodon and run:
# sudo -u mastodon mastodon-tootctl search deploy
elasticsearch = {
preset = "single_node_cluster";
host = hostCfg.localhost.address0;
port = 9200;
};
mediaAutoRemove = {
enable = true;
olderThanDays = 14;
@ -132,7 +151,7 @@ in
user = smtpCfg.email.address1;
};
};
opensearch.enable = true;
caddy = {
enable = true;
virtualHosts = {
@ -354,8 +373,8 @@ in
environment.systemPackages = [ fedifetcherPython ];
microvm = {
vcpu = 2;
mem = 1024 * 3;
vcpu = 4;
mem = 1024 * 8;
hypervisor = "qemu";
interfaces = [
{