Mozc: Difference between revisions
m removed software category Tag: Manual revert |
Expanded a lot, updated obsolete IBus configuration, add notes about Mozc UT |
||
Line 1: | Line 1: | ||
Mozc is a Japanese input method editor (IME) originated from Google Japanese Input. | |||
Currently nixpkgs contains 2 variants: | |||
* <strong>Mozc</strong> which is vanilla ({{nixos:package|fcitx5-mozc}} and {{nixos:package|ibus-engines.mozc}}) | |||
* <strong>Mozc UT</strong> which has enhanced dictionaries ({{nixos:package|fcitx5-mozc-ut}} and {{nixos:package|ibus-engines.mozc-ut}}) | |||
== Installation == | |||
=== Fcitx5 === | |||
See [[Fcitx5]] for further information. | |||
<syntaxhighlight lang="nix"> | |||
i18n.inputMethod = { | |||
enable = true; | |||
type = "fcitx5"; | |||
fcitx5.addons = with pkgs; [ | |||
# fcitx5-mozc | |||
fcitx5-mozc-ut | |||
fcitx5-gtk | |||
]; | |||
}; | |||
</syntaxhighlight> | |||
=== IBus === | |||
See [[IBus]] for further information. | |||
<syntaxHighlight lang=nix> | <syntaxHighlight lang=nix> | ||
i18n.inputMethod = { | |||
enable = true; | |||
type = "ibus"; | |||
ibus.engines = with pkgs.ibus-engines; [ | |||
# mozc | |||
mozc-ut | |||
]; | |||
}; | |||
</syntaxHighlight> | </syntaxHighlight> | ||
{{Note|Currently all dictionaries with {{nixos:package|mozcdic-ut-}} prefix are automatically installed if {{nixos:package|mozc-ut}} is installed. End users usually do not need to think about these packages (unless they would like to exclude some of them).}} |