Mozc: Difference between revisions
Appearance
Expanded a lot, updated obsolete IBus configuration, add notes about Mozc UT |
mNo edit summary |
||
Line 38: | Line 38: | ||
</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).}} | {{Note|Currently all dictionaries with {{nixos:package|mozcdic-ut-}} prefix are automatically installed if {{nixos:package|mozc-ut}} is installed. (See [https://github.com/NixOS/nixpkgs/blob/nixos-25.05/pkgs/by-name/mo/mozc-ut/package.nix 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).}} |
Latest revision as of 02:53, 10 June 2025
Mozc is a Japanese input method editor (IME) originated from Google Japanese Input.
Currently nixpkgs contains 2 variants:
- Mozc which is vanilla (
fcitx5-mozc
andibus-engines.mozc
) - Mozc UT which has enhanced dictionaries (
fcitx5-mozc-ut
andibus-engines.mozc-ut
)
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).