nixos-config/hosts/ghost/mastodon.nix

17 lines
392 B
Nix
Raw Normal View History

2023-10-26 11:27:09 -03:00
{ config, pkgs, inputs, ... }: {
services.mastodon = {
enable = true;
localDomain = "social.lelgenio.xyz";
configureNginx = true;
smtp.fromAddress = "lelgenio@disroot.org";
extraConfig.SINGLE_USER_MODE = "true";
2023-11-29 01:33:28 -03:00
streamingProcesses = 2;
2023-10-26 11:27:09 -03:00
};
services.nginx.virtualHosts.${config.services.nextcloud.hostName} = {
forceSSL = true;
enableACME = true;
};
}