mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 09:35:12 -05:00
feat: mastodon multi-user mode
This commit is contained in:
parent
60b492d6b9
commit
c099b1bfc3
1 changed files with 12 additions and 14 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue