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
1 changed files with 3 additions and 1 deletions
|
@ -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.'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue