mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 17:45: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
|
# 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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue