services.mastodon.elasticsearch.preset
NixOS option
It controls the ElasticSearch indices configuration (number of shards and replica).
type: one of "single_node_cluster", "small_cluster", "large_cluster"Default
"single_node_cluster"
Example
declared in: nixos/modules/services/web-apps/mastodon.nixView source on NixOS/nixpkgs →"large_cluster"