From 0d28a8a50167dbdf739fbfd12de7b65df8a16564 Mon Sep 17 00:00:00 2001 From: Mirzhan Irkegulov Date: Thu, 5 May 2016 20:11:16 +0100 Subject: [PATCH] update docs for services.dictd.* config options added types for both options and an example for services.dictd.DBs --- nixos/modules/services/misc/dictd.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/dictd.nix b/nixos/modules/services/misc/dictd.nix index 118d299042d5..ef744439c3d6 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.''; };