Move fcitx5 into own module

This commit is contained in:
Elnu 2022-10-13 19:40:15 -07:00
parent b808c6d94c
commit 3a89798c73
2 changed files with 15 additions and 17 deletions

14
fcitx5/default.nix Normal file
View file

@ -0,0 +1,14 @@
{
i18n.inputMethod = {
enabled = "fcitx5";
# Commented out, not working
#fcitx.engines = with pkgs.fcitx-engines; [ anthy ];
};
home.sessionVariables = {
GTK_IM_MDOULE = "fcitx";
QT_IM_MODULE = "fcitx";
XMODIFIERS = "@im=fcitx";
GLFW_IM_MODULE = "ibus"; # IME support in anthy
};
}