Jump to content

Mozc

From NixOS Wiki

Mozc is a Japanese input method editor (IME) originated from Google Japanese Input.

Currently nixpkgs contains 2 variants:

Installation

Fcitx5

See Fcitx5 for further information.

i18n.inputMethod = {
  enable = true;
  type = "fcitx5";
  fcitx5.addons = with pkgs; [ 
    # fcitx5-mozc
    fcitx5-mozc-ut
    fcitx5-gtk 
  ];
};

IBus

See IBus for further information.

i18n.inputMethod = {
  enable = true;
  type = "ibus";
  ibus.engines = with pkgs.ibus-engines; [ 
    # mozc
    mozc-ut
  ];
};
Note: Currently all dictionaries with mozcdic-ut- prefix are automatically installed if mozc-ut is installed. (See pkgs/by-name/mo/mozc-ut/package.nix.) End users usually do not need to think about these packages (unless they would like to exclude some of them).