services.opensearch.dataDir

NixOS option

Data directory for OpenSearch. If you change this, you need to manually create the directory. You also need to create the opensearch user and group, or change services.opensearch.user and services.opensearch.group to existing ones with access to the directory.

type: absolute path
Default
"/var/lib/opensearch"
declared in: nixos/modules/services/search/opensearch.nixView source on NixOS/nixpkgs →