update docs for services.dictd.* config options
added types for both options and an example for services.dictd.DBs
This commit is contained in:
parent
50b7a542fe
commit
0d28a8a501
|
@ -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.'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue