services.opensearch-dashboards.settings
NixOS option
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.
type: open submodule of (YAML 1.1 value)Default
{ }Example
declared in: nixos/modules/services/search/opensearch-dashboards.nixView source on NixOS/nixpkgs →{
opensearch = {
username = "foo";
password._secret = "/run/keys/opensearch_password";
};
server = {
name = "your-hostname";
port = 5601;
maxPayloadbytes = 104857;
};
};