MyNixOS website logo
option

services.opensearch-dashboards.settings

OpenSearch Dashboards settings.

Available settings can be found by looking at the opensearch_dashboards.yml from the Opensearch Dashboards repo.

config/nixos_site_settings.json file, attribute set containing the attribute _secret - a string pointing to a file containing the value the option should be set to. See the example to get a better picture of this: in the resulting opensearch_dashboards.yml file, the opensearch.password key will be set to the contents of the /run/keys/opensearch_password file.

Declarations
Type
open submodule of (YAML 1.1 value)
Default
{ }
Example
{
  opensearch = {
    username = "foo";
    password._secret = "/run/keys/opensearch_password";
  };

  server = {
    name = "your-hostname";
    port = 5601;
    maxPayloadbytes = 104857;
  };
};