Dict

From NixOS Wiki
Revision as of 08:05, 8 July 2022 by Peterhoeg (talk | contribs) (Set server via /etc/dict.conf instead of per user.)
Jump to: navigation, search

The dict utility does network dictionary lookups from the command-line, it is part of the dictd software distribution.

Setup

Add `dict` to your list of packages in /etc/nixos/configuration.nix:

Breeze-text-x-plain.png
/etc/nixos/configuration.nix
{
  environment = {
    etc."dict.conf".text = "server dict.org";
    systemPackages = with pkgs; [ dict ];
  };
}


and rebuild your system.

Usage

To lookup a word, run, for example:

dict snowflake

See Also