services.sharkey.setupMeilisearch

NixOS option

Whether to automatically set up a local Meilisearch instance and configure Sharkey to use it. You need to ensure services.meilisearch.masterKeyFile is correctly configured for a working Meilisearch setup. You also need to configure Sharkey to use an API key obtained from Meilisearch with the MK_CONFIG_MEILISEARCH_APIKEY environment variable, and set services.sharkey.settings.meilisearch.index to the created index. See https://docs.joinsharkey.org/docs/customisation/search/meilisearch/ for how to create an API key and index.

type: boolean
Default
false
Example
true
declared in: nixos/modules/services/web-apps/sharkey.nixView source on NixOS/nixpkgs →