feat: mastodon multi-user mode

This commit is contained in:
Nick 2025-03-26 14:14:50 -05:00
parent 60b492d6b9
commit c099b1bfc3

View file

@ -25,19 +25,17 @@ in
# If you really fuck up and name yourself wrong, use this shit # If you really fuck up and name yourself wrong, use this shit
# sudo mastodon-tootctl accounts modify username --remove-role # sudo mastodon-tootctl accounts modify username --remove-role
# nixpkgs.overlays = [ nixpkgs.overlays = [
# ( (final: prev: {
# final: prev: { mastodon = prev.mastodon.overrideAttrs (oldAttrs: {
# mastodon = prev.mastodon.overrideAttrs (oldAttrs: { postPatch =
# postPatch = (oldAttrs.postPatch or "")
# (oldAttrs.postPatch or "") + ''
# + '' patch -p1 < ${./config/chars.patch}
# patch -p1 < ${./chars.patch} '';
# ''; });
# }); })
# } ];
# )
# ];
services = { services = {
mastodon = { mastodon = {
@ -55,7 +53,7 @@ in
passwordFile = config.sops.secrets.mastodon-database.path; passwordFile = config.sops.secrets.mastodon-database.path;
}; };
extraConfig = { extraConfig = {
SINGLE_USER_MODE = "true"; SINGLE_USER_MODE = "false";
SMTP_AUTH_METHOD = "plain"; SMTP_AUTH_METHOD = "plain";
SMTP_DELIVERY_METHOD = "smtp"; SMTP_DELIVERY_METHOD = "smtp";
SMTP_ENABLE_STARTTLS_AUTO = "true"; SMTP_ENABLE_STARTTLS_AUTO = "true";