summary refs log tree commit diff
path: root/nixos/modules/services/search
diff options
context:
space:
mode:
authorDanylo Hlynskyi <abcz2.uprola@gmail.com>2019-08-18 17:11:20 +0300
committerGitHub <noreply@github.com>2019-08-18 17:11:20 +0300
commit2b393c8913665b70084835903a7a7ed7cb6146b6 (patch)
tree826f1e043fa896fa39a8c096b498c879f24bed4e /nixos/modules/services/search
parent3a17a52a2a5f9d7077c1c2273e49062c11e000d4 (diff)
downloadnixpkgs-2b393c8913665b70084835903a7a7ed7cb6146b6.tar
nixpkgs-2b393c8913665b70084835903a7a7ed7cb6146b6.tar.gz
nixpkgs-2b393c8913665b70084835903a7a7ed7cb6146b6.tar.bz2
nixpkgs-2b393c8913665b70084835903a7a7ed7cb6146b6.tar.lz
nixpkgs-2b393c8913665b70084835903a7a7ed7cb6146b6.tar.xz
nixpkgs-2b393c8913665b70084835903a7a7ed7cb6146b6.tar.zst
nixpkgs-2b393c8913665b70084835903a7a7ed7cb6146b6.zip
elasticsearch: add example on how to use plugins (#55115)
See https://discourse.nixos.org/t/elastic-search-plugins/1997
Diffstat (limited to 'nixos/modules/services/search')
-rw-r--r--nixos/modules/services/search/elasticsearch.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/search/elasticsearch.nix b/nixos/modules/services/search/elasticsearch.nix
index 6b688c640d5..91d8f544e16 100644
--- a/nixos/modules/services/search/elasticsearch.nix
+++ b/nixos/modules/services/search/elasticsearch.nix
@@ -131,6 +131,7 @@ in {
       description = "Extra elasticsearch plugins";
       default = [];
       type = types.listOf types.package;
+      example = lib.literalExample "[ pkgs.elasticsearchPlugins.discovery-ec2 ]";
     };
 
   };