2023-10-03 19:22:24 +02:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
i18n.inputMethod = {
|
|
|
|
enabled = "fcitx5";
|
|
|
|
fcitx5.addons = with pkgs; [
|
|
|
|
fcitx5-gtk
|
|
|
|
fcitx5-skk-qt
|
|
|
|
libsForQt5.fcitx5-qt
|
|
|
|
];
|
|
|
|
};
|
2024-02-14 22:50:54 +01:00
|
|
|
environment.sessionVariables = {
|
|
|
|
GTK_IM_MODULE = "fcitx";
|
|
|
|
QT_IM_MODULE = "fcitx";
|
|
|
|
XMODIFIERS = "@im=fcitx";
|
|
|
|
};
|
2023-10-03 19:22:24 +02:00
|
|
|
}
|