nixfiles/config/services/nyastodon.nix

17 lines
419 B
Nix
Raw Normal View History

2024-04-16 22:17:16 +02:00
{ config, lib, pkgs, ... }: {
nixpkgs.overlays = [
(final: prev: {
nyastodon = final.callPackage ../../pkgs/nyastodon/default.nix { };
})
];
services.mastodon = {
enable = true;
enableUnixSocket = false;
package = pkgs.nyastodon;
localDomain = config.networking.fqdn;
configureNginx = true;
smtp.fromAddress = "webmaster@girldick.gay";
streamingProcesses = 16;
};
}