nixos/mastodon: clarify the need to set streamingProcesses

Explicitly declaring that option is now necessary, but wasn't in the module shipped with 23.05.
This commit is contained in:
Trolli Schmittlauch
2023-12-04 02:18:39 +01:00
parent 6050880252
commit cbf69c83d3
2 changed files with 4 additions and 2 deletions
@@ -71,7 +71,9 @@ Make sure to also check the many updates in the [Nixpkgs library](#sec-release-2
- `services.mastodon` doesn't support providing a TCP port to its `streaming`
component anymore, as upstream implemented parallelization by running
multiple instances instead of running multiple processes in one instance.
Please create a PR if you are interested in this feature.
Please create a PR if you are interested in this feature.\
Due to this, the desired number of such instances
{option}`services.mastodon.streamingProcesses` now needs to be declared explicitly.
- The `services.hostapd` module was rewritten to support `passwordFile` like
options, WPA3-SAE, and management of multiple interfaces. This breaks
+1 -1
View File
@@ -229,7 +229,7 @@ in {
streamingProcesses = lib.mkOption {
description = lib.mdDoc ''
Number of processes used by the mastodon-streaming service.
Recommended is the amount of your CPU cores minus one.
Please define this explicitly, recommended is the amount of your CPU cores minus one.
'';
type = lib.types.ints.positive;
example = 3;