summary refs log tree commit diff
path: root/nixos/modules/services/search
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2014-06-24 21:04:56 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2014-06-24 21:06:30 +0200
commit6ce8f753e0fbeda2e315c6fd9c1fb58fe198db71 (patch)
treeab9ef9ed90ebf85464d1b9668f99056e8c2d773a /nixos/modules/services/search
parentfd73d2b13b70239d0a69e7e317ce71d2674e024d (diff)
downloadnixlib-6ce8f753e0fbeda2e315c6fd9c1fb58fe198db71.tar
nixlib-6ce8f753e0fbeda2e315c6fd9c1fb58fe198db71.tar.gz
nixlib-6ce8f753e0fbeda2e315c6fd9c1fb58fe198db71.tar.bz2
nixlib-6ce8f753e0fbeda2e315c6fd9c1fb58fe198db71.tar.lz
nixlib-6ce8f753e0fbeda2e315c6fd9c1fb58fe198db71.tar.xz
nixlib-6ce8f753e0fbeda2e315c6fd9c1fb58fe198db71.tar.zst
nixlib-6ce8f753e0fbeda2e315c6fd9c1fb58fe198db71.zip
nixos/elasticsearch: add '.' at end of description strings
Nixos option descriptions should be full sentences, ending in a full
stop. (Package descriptions, on the other hand, should not.)
Diffstat (limited to 'nixos/modules/services/search')
-rw-r--r--nixos/modules/services/search/elasticsearch.nix16
1 files changed, 8 insertions, 8 deletions
diff --git a/nixos/modules/services/search/elasticsearch.nix b/nixos/modules/services/search/elasticsearch.nix
index 3c32e4a3dfe1..70254560bd05 100644
--- a/nixos/modules/services/search/elasticsearch.nix
+++ b/nixos/modules/services/search/elasticsearch.nix
@@ -27,37 +27,37 @@ in {
 
   options.services.elasticsearch = {
     enable = mkOption {
-      description = "Whether to enable elasticsearch";
+      description = "Whether to enable elasticsearch.";
       default = false;
       type = types.uniq types.bool;
     };
 
     host = mkOption {
-      description = "Elasticsearch listen address";
+      description = "Elasticsearch listen address.";
       default = "127.0.0.1";
       type = types.str;
     };
 
     port = mkOption {
-      description = "Elasticsearch port to listen for HTTP traffic";
+      description = "Elasticsearch port to listen for HTTP traffic.";
       default = 9200;
       type = types.int;
     };
 
     tcp_port = mkOption {
-      description = "Elasticsearch port for the node to node communication";
+      description = "Elasticsearch port for the node to node communication.";
       default = 9300;
       type = types.int;
     };
 
     cluster_name = mkOption {
-      description = "Elasticsearch name that identifies your cluster for auto-discovery";
+      description = "Elasticsearch name that identifies your cluster for auto-discovery.";
       default = "elasticsearch";
       type = types.str;
     };
 
     extraConf = mkOption {
-      description = "Extra configuration for elasticsearch";
+      description = "Extra configuration for elasticsearch.";
       default = "";
       type = types.str;
       example = ''
@@ -70,7 +70,7 @@ in {
     };
 
     logging = mkOption {
-      description = "Elasticsearch logging configuration";
+      description = "Elasticsearch logging configuration.";
       default = ''
         rootLogger: INFO, console
         logger:
@@ -95,7 +95,7 @@ in {
     };
 
     extraCmdLineOptions = mkOption {
-      description = "Extra command line options for the elasticsearch launcher";
+      description = "Extra command line options for the elasticsearch launcher.";
       default = [];
       type = types.listOf types.string;
       example = [ "-Djava.net.preferIPv4Stack=true" ];