Add mastodon

https://wiki.nixos.org/wiki/Mastodon
This commit is contained in:
Oliver Davies 2025-04-28 23:11:26 +01:00
parent 1cca820fa3
commit b0cccd36a6
3 changed files with 59 additions and 34 deletions

View file

@ -2,6 +2,7 @@
imports = [
./homepage
./samba.nix
./mastodon.nix
./uptime-kuma.nix
];
}

View file

@ -0,0 +1,17 @@
{
services.mastodon = {
enable = true;
configureNginx = true;
localDomain = "social.oliverdavies.uk";
streamingProcesses = 3;
extraConfig = {
SINGLE_USER_MODE = "true";
};
smtp = {
fromAddress = "social@oliverdavies.uk";
};
};
}