nixos-config/hosts/ghost/mastodon.nix
Leonardo Eugênio ff7c1b3bb3 ghost: update
2023-11-29 01:33:28 -03:00

17 lines
392 B
Nix

{ config, pkgs, inputs, ... }: {
services.mastodon = {
enable = true;
localDomain = "social.lelgenio.xyz";
configureNginx = true;
smtp.fromAddress = "lelgenio@disroot.org";
extraConfig.SINGLE_USER_MODE = "true";
streamingProcesses = 2;
};
services.nginx.virtualHosts.${config.services.nextcloud.hostName} = {
forceSSL = true;
enableACME = true;
};
}