{ pkgs, ... }: { i18n.inputMethod = { enabled = "fcitx5"; fcitx5.addons = 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 kitty }; home.file = { ".local/share/fcitx5/themes/Nord-Dark".source = let repo = pkgs.fetchFromGitHub { owner = "tonyfettes"; repo = "fcitx5-nord"; rev = "bdaa8fb723b8d0b22f237c9a60195c5f9c9d74d1"; sha256 = "qVo/0ivZ5gfUP17G29CAW0MrRFUO0KN1ADl1I/rvchE="; }; in "${repo}/Nord-Dark"; ".config/fcitx5/conf/classicui.conf".text = "Theme=Nord-Dark"; }; }