update docs for services.dictd.* config options

added types for both options and an example for services.dictd.DBs
This commit is contained in:
Mirzhan Irkegulov 2016-05-05 20:11:16 +01:00
parent 50b7a542fe
commit 0d28a8a501

View file

@ -11,6 +11,7 @@ with lib;
services.dictd = { services.dictd = {
enable = mkOption { enable = mkOption {
type = types.bool;
default = false; default = false;
description = '' description = ''
Whether to enable the DICT.org dictionary server. Whether to enable the DICT.org dictionary server.
@ -18,8 +19,9 @@ with lib;
}; };
DBs = mkOption { DBs = mkOption {
type = types.listOf types.package;
default = []; default = [];
# example = [ pkgs.dictDBs.nld2eng ]; example = [ pkgs.dictdDBs.nld2eng ];
description = ''List of databases to make available.''; description = ''List of databases to make available.'';
}; };