summary refs log tree commit diff
diff options
context:
space:
mode:
authorMirzhan Irkegulov <sindikat@mail36.net>2016-05-05 20:11:16 +0100
committerMirzhan Irkegulov <sindikat@mail36.net>2016-05-05 20:11:16 +0100
commit0d28a8a50167dbdf739fbfd12de7b65df8a16564 (patch)
tree89a931814a06da9913dc65e7647cb5b9d117e850
parent50b7a542fe6bef2ef0340b6e4710022cf526c8aa (diff)
downloadnixpkgs-0d28a8a50167dbdf739fbfd12de7b65df8a16564.tar
nixpkgs-0d28a8a50167dbdf739fbfd12de7b65df8a16564.tar.gz
nixpkgs-0d28a8a50167dbdf739fbfd12de7b65df8a16564.tar.bz2
nixpkgs-0d28a8a50167dbdf739fbfd12de7b65df8a16564.tar.lz
nixpkgs-0d28a8a50167dbdf739fbfd12de7b65df8a16564.tar.xz
nixpkgs-0d28a8a50167dbdf739fbfd12de7b65df8a16564.tar.zst
nixpkgs-0d28a8a50167dbdf739fbfd12de7b65df8a16564.zip
update docs for services.dictd.* config options
added types for both options and an example for services.dictd.DBs
-rw-r--r--nixos/modules/services/misc/dictd.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/dictd.nix b/nixos/modules/services/misc/dictd.nix
index 118d299042d..ef744439c3d 100644
--- a/nixos/modules/services/misc/dictd.nix
+++ b/nixos/modules/services/misc/dictd.nix
@@ -11,6 +11,7 @@ with lib;
     services.dictd = {
 
       enable = mkOption {
+        type = types.bool;
         default = false;
         description = ''
           Whether to enable the DICT.org dictionary server.
@@ -18,8 +19,9 @@ with lib;
       };
 
       DBs = mkOption {
+        type = types.listOf types.package;
         default = [];
-        # example = [ pkgs.dictDBs.nld2eng ];
+        example = [ pkgs.dictdDBs.nld2eng ];
         description = ''List of databases to make available.'';
       };