From e767ec4b554af39b60ab0e530f31429d290f5213 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Tue, 7 Mar 2023 18:20:00 +0000 Subject: [PATCH] Upload New File --- dev/mstdn-tildecafe-com.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 dev/mstdn-tildecafe-com.nix 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" ]; + }; + +}