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.
This commit is contained in:
@@ -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.'';
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user