2023-09-19 00:17:43 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
# Chinese IME
|
|
|
|
i18n.inputMethod = {
|
|
|
|
enabled = "fcitx5";
|
|
|
|
fcitx5.addons = with pkgs; [
|
2023-10-15 10:53:11 +00:00
|
|
|
fcitx5-chinese-addons
|
2023-11-03 16:02:28 +00:00
|
|
|
fcitx5-pinyin-moegirl # Using Berberman's Flake overlay
|
2023-10-15 10:53:11 +00:00
|
|
|
fcitx5-pinyin-zhwiki
|
2023-10-15 00:52:03 +00:00
|
|
|
|
2023-10-15 10:53:11 +00:00
|
|
|
#fcitx5-rime
|
2023-09-19 00:17:43 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
home.sessionVariables = {
|
|
|
|
"FCITX_NO_PREEDIT_APPS" = "gvim.*,wps.*,wpp.*,et.*,cinny,epiphany";
|
|
|
|
#GLFW_IM_MODULE = "ibus"; # IME support in kitty
|
|
|
|
#GTK_IM_MODULE = "fcitx";
|
|
|
|
#QT_IM_MODULE = "fcitx";
|
|
|
|
#XMODIFIERS = "@im=fcitx";
|
|
|
|
};
|
|
|
|
}
|