mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 19:24:03 -06:00
17 lines
430 B
Nix
17 lines
430 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
services.mastodon = {
|
|
enable = true;
|
|
localDomain = "mstdn.tildecafe.com"; # Replace with your own domain
|
|
configureNginx = true;
|
|
smtp.fromAddress = "aaronhoneycutt@proton.me"; # Email address used by Mastodon to send emails, replace with your own
|
|
extraConfig.SINGLE_USER_MODE = "true";
|
|
};
|
|
|
|
services.postgresqlBackup = {
|
|
enable = true;
|
|
databases = [ "mastodon" ];
|
|
};
|
|
|
|
}
|