diff --git a/modules/nixos/services/mastodon/default.nix b/modules/nixos/services/mastodon/default.nix index 62da572..a52d03d 100755 --- a/modules/nixos/services/mastodon/default.nix +++ b/modules/nixos/services/mastodon/default.nix @@ -25,19 +25,17 @@ 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: { - # postPatch = - # (oldAttrs.postPatch or "") - # + '' - # patch -p1 < ${./chars.patch} - # ''; - # }); - # } - # ) - # ]; + nixpkgs.overlays = [ + (final: prev: { + mastodon = prev.mastodon.overrideAttrs (oldAttrs: { + postPatch = + (oldAttrs.postPatch or "") + + '' + patch -p1 < ${./config/chars.patch} + ''; + }); + }) + ]; services = { mastodon = { @@ -55,7 +53,7 @@ in passwordFile = config.sops.secrets.mastodon-database.path; }; extraConfig = { - SINGLE_USER_MODE = "true"; + SINGLE_USER_MODE = "false"; SMTP_AUTH_METHOD = "plain"; SMTP_DELIVERY_METHOD = "smtp"; SMTP_ENABLE_STARTTLS_AUTO = "true";