Jump to content

Mastodon: Difference between revisions

imported from old wiki
(The services.mastodon.streamingProcesses option is now required for the mastodon service)
(imported from old wiki)
Line 17: Line 17:
     streamingProcesses = 3; # Number of processes used. It is recommended to set to the number of CPU cores minus one
     streamingProcesses = 3; # Number of processes used. It is recommended to set to the number of CPU cores minus one
     extraConfig.SINGLE_USER_MODE = "true";
     extraConfig.SINGLE_USER_MODE = "true";
    streamingProcesses = 3; # Number of processes used by the mastodon-streaming service. recommended is the amount of your CPU cores minus one.
   };
   };
   networking.firewall.allowedTCPPorts = [ 80 443 ];
   networking.firewall.allowedTCPPorts = [ 80 443 ];
</syntaxhighlight>
</syntaxhighlight>


You can then create your account using <code>tootctl</code>:
You can then create your account using the package <code>mastodon</code>:
Ignore any warnings about the ruby version, it should work anyways


<syntaxhighlight lang="console">
<syntaxhighlight lang="console">
Line 32: Line 34:
</syntaxhighlight>
</syntaxhighlight>


Then you're ready to head to the domain you set up in <code>configuration.nix</code> and start tooting away!
Then you're ready to head to the domain you set up and start tooting away!


== Usage ==
== Usage ==