grimm-nixos-laptop/modules/mastodon.nix
2024-05-11 22:55:59 +02:00

18 lines
358 B
Nix

{ config, ... }:
let
inherit (config.serverConfig) vhosts;
inherit (config.networking) domain;
in
{
services.mastodon = {
enable = true;
localDomain = vhosts.mastodon_host.host;
streamingProcesses = 7;
configureNginx = true;
smtp = {
fromAddress = "noreply@${domain}";
};
extraConfig.SINGLE_USER_MODE = "true";
};
}