environment.wordlist.lists
NixOS option
A set with the key names being the environment variable you’d like to set and the values being a list of paths to text documents containing lists of words. The various files will be merged, sorted, duplicates removed, and extraneous spacing removed. If you have a handful of words that you want to add to an already existing wordlist, you may find builtins.toFile useful for this task.
type: attribute set of non-empty (list of absolute path)Default
{
WORDLIST = [ "${pkgs.scowl}/share/dict/words.txt" ];
}
Example
declared in: nixos/modules/misc/wordlist.nixView source on NixOS/nixpkgs →{
WORDLIST = [ "${pkgs.scowl}/share/dict/words.txt" ];
AUGMENTED_WORDLIST = [
"${pkgs.scowl}/share/dict/words.txt"
"${pkgs.scowl}/share/dict/words.variants.txt"
(builtins.toFile "extra-words" ''
desynchonization
oobleck'')
];
}