diff options
author | Mirzhan Irkegulov <sindikat@mail36.net> | 2016-05-05 20:11:16 +0100 |
---|---|---|
committer | Mirzhan Irkegulov <sindikat@mail36.net> | 2016-05-05 20:11:16 +0100 |
commit | 0d28a8a50167dbdf739fbfd12de7b65df8a16564 (patch) | |
tree | 89a931814a06da9913dc65e7647cb5b9d117e850 /nixos | |
parent | 50b7a542fe6bef2ef0340b6e4710022cf526c8aa (diff) | |
download | nixlib-0d28a8a50167dbdf739fbfd12de7b65df8a16564.tar nixlib-0d28a8a50167dbdf739fbfd12de7b65df8a16564.tar.gz nixlib-0d28a8a50167dbdf739fbfd12de7b65df8a16564.tar.bz2 nixlib-0d28a8a50167dbdf739fbfd12de7b65df8a16564.tar.lz nixlib-0d28a8a50167dbdf739fbfd12de7b65df8a16564.tar.xz nixlib-0d28a8a50167dbdf739fbfd12de7b65df8a16564.tar.zst nixlib-0d28a8a50167dbdf739fbfd12de7b65df8a16564.zip |
update docs for services.dictd.* config options
added types for both options and an example for services.dictd.DBs
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/misc/dictd.nix | 4 |
1 files changed, 3 insertions, 1 deletions
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.''; }; |