diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2016-11-21 16:26:03 +0100 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-11-21 16:35:15 +0100 |
commit | f9f354faadb32ae2f0ac11eab0d824cc40f1d56c (patch) | |
tree | 42f71984de12c2663740466ca6fe89550837b71d /nixos/modules/services/misc/dictd.nix | |
parent | d69dce080daf2c7004a79950e73dba6545b9097e (diff) | |
download | nixlib-f9f354faadb32ae2f0ac11eab0d824cc40f1d56c.tar nixlib-f9f354faadb32ae2f0ac11eab0d824cc40f1d56c.tar.gz nixlib-f9f354faadb32ae2f0ac11eab0d824cc40f1d56c.tar.bz2 nixlib-f9f354faadb32ae2f0ac11eab0d824cc40f1d56c.tar.lz nixlib-f9f354faadb32ae2f0ac11eab0d824cc40f1d56c.tar.xz nixlib-f9f354faadb32ae2f0ac11eab0d824cc40f1d56c.tar.zst nixlib-f9f354faadb32ae2f0ac11eab0d824cc40f1d56c.zip |
nixos/modules: use defaultText where applicable
Primarily to fix rendering of these default values in the manual but it's also nice to avoid having to eval these things just to build the manual.
Diffstat (limited to 'nixos/modules/services/misc/dictd.nix')
-rw-r--r-- | nixos/modules/services/misc/dictd.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/dictd.nix b/nixos/modules/services/misc/dictd.nix index 24dca15dd913..7e3b6431a133 100644 --- a/nixos/modules/services/misc/dictd.nix +++ b/nixos/modules/services/misc/dictd.nix @@ -25,7 +25,8 @@ in DBs = mkOption { type = types.listOf types.package; default = with pkgs.dictdDBs; [ wiktionary wordnet ]; - example = [ pkgs.dictdDBs.nld2eng ]; + defaultText = "with pkgs.dictdDBs; [ wiktionary wordnet ]"; + example = literalExample "[ pkgs.dictdDBs.nld2eng ]"; description = ''List of databases to make available.''; }; |