diff options
author | Vonfry <mail@vonfry.name> | 2023-03-12 12:04:15 +0800 |
---|---|---|
committer | Vonfry <mail@vonfry.name> | 2023-03-13 18:50:05 +0800 |
commit | 4e8ad00ae81e70f4e4db7dfc7e67d9c853f0d6b6 (patch) | |
tree | eaf5a0314a1cbcb0b0c43442fcc65d38d694658d /nixos/modules/i18n/input-method | |
parent | 051b74fe7d7398c24fee4d703bd1e32a88b68393 (diff) |
fcitx: remove packages and update documentations and aliases to fcitx5
Diffstat (limited to 'nixos/modules/i18n/input-method')
-rw-r--r-- | nixos/modules/i18n/input-method/default.md | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/nixos/modules/i18n/input-method/default.md b/nixos/modules/i18n/input-method/default.md index 05ae12065c34c..42cb8a8d7b6a7 100644 --- a/nixos/modules/i18n/input-method/default.md +++ b/nixos/modules/i18n/input-method/default.md @@ -9,7 +9,7 @@ than there are keys on the keyboard. The following input methods are available in NixOS: - IBus: The intelligent input bus. - - Fcitx: A customizable lightweight input method. + - Fcitx5: The next generation of fcitx, addons (including engines, dictionaries, skins) can be added using `i18n.inputMethod.fcitx5.addons`. - Nabi: A Korean input method based on XIM. - Uim: The universal input method, is a library with a XIM bridge. - Hime: An extremely easy-to-use input method framework. @@ -67,38 +67,40 @@ application in the Nix store. The `glib` packages must match exactly. If they do not, uninstalling and reinstalling the application is a likely fix. -## Fcitx {#module-services-input-methods-fcitx} +## Fcitx5 {#module-services-input-methods-fcitx} -Fcitx is an input method framework with extension support. It has three +Fcitx5 is an input method framework with extension support. It has three built-in Input Method Engine, Pinyin, QuWei and Table-based input methods. The following snippet can be used to configure Fcitx: ``` i18n.inputMethod = { - enabled = "fcitx"; - fcitx.engines = with pkgs.fcitx-engines; [ mozc hangul m17n ]; + enabled = "fcitx5"; + fcitx5.addons = with pkgs; [ fcitx5-mozc fcitx5-hangul fcitx5-m17n ]; }; ``` -`i18n.inputMethod.fcitx.engines` is optional and can be -used to add extra Fcitx engines. +`i18n.inputMethod.fcitx5.addons` is optional and can be +used to add extra Fcitx5 addons. -Available extra Fcitx engines are: +Available extra Fcitx5 addons are: - - Anthy (`fcitx-engines.anthy`): Anthy is a system for + - Anthy (`fcitx5-anthy`): Anthy is a system for Japanese input method. It converts Hiragana text to Kana Kanji mixed text. - - Chewing (`fcitx-engines.chewing`): Chewing is an + - Chewing (`fcitx5-chewing`): Chewing is an intelligent Zhuyin input method. It is one of the most popular input methods among Traditional Chinese Unix users. - - Hangul (`fcitx-engines.hangul`): Korean input method. - - Unikey (`fcitx-engines.unikey`): Vietnamese input method. - - m17n (`fcitx-engines.m17n`): m17n is an input method that + - Hangul (`fcitx5-hangul`): Korean input method. + - Unikey (`fcitx5-unikey`): Vietnamese input method. + - m17n (`fcitx5-m17n`): m17n is an input method that uses input methods and corresponding icons in the m17n database. - - mozc (`fcitx-engines.mozc`): A Japanese input method from + - mozc (`fcitx5-mozc`): A Japanese input method from Google. - - table-others (`fcitx-engines.table-others`): Various + - table-others (`fcitx5-table-other`): Various table-based input methods. + - chinese-addons (`fcitx5-chinese-addons`): Various chinese input methods. + - rime (`fcitx5-rime`): RIME support for fcitx5. ## Nabi {#module-services-input-methods-nabi} |