diff --git a/dev/mstdn-tildecafe-com.nix b/dev/mstdn-tildecafe-com.nix new file mode 100644 index 0000000..91de8a7 --- /dev/null +++ b/dev/mstdn-tildecafe-com.nix @@ -0,0 +1,17 @@ +{ 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" ]; + }; + +}