Fcitx5

From NixOS Wiki
Revision as of 22:03, 3 December 2022 by imported>Tamiyo (better organized)

Fcitx5 is a lightweight input method framework with addon support.

Setup

The following is a simple NixOs configuration that'll setup fcitx5, its GUI config tool, and two addons.

i18n.inputMethod = {
    enabled = "fcitx5";
    fcitx5.addons = with pkgs; [
        fcitx5-mozc
        fcitx5-gtk
    ];
};

Notably, NixOs automagically sets session variables that are required for fcitx5.

Troubleshooting

Installing fcitx5 using environment.systemPackages can interfere with addon detection.