2023-12-16 08:58:10 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}: {
|
2023-09-19 00:17:43 +00:00
|
|
|
i18n.inputMethod = {
|
|
|
|
enabled = "fcitx5";
|
2023-12-16 08:58:10 +00:00
|
|
|
fcitx5.addons =
|
|
|
|
(with pkgs; [
|
2024-06-12 17:44:23 +00:00
|
|
|
libsForQt5.fcitx5-chinese-addons
|
2023-12-16 08:58:10 +00:00
|
|
|
])
|
2023-12-27 07:28:18 +00:00
|
|
|
++ (with inputs.berberman.packages.${pkgs.stdenv.hostPlatform.system}; [
|
2023-12-16 08:58:10 +00:00
|
|
|
fcitx5-pinyin-moegirl
|
|
|
|
fcitx5-pinyin-zhwiki
|
|
|
|
]);
|
2023-09-19 00:17:43 +00:00
|
|
|
};
|
|
|
|
|
2024-03-05 06:05:59 +00:00
|
|
|
xdg.configFile."fcitx5/conf/classicui.conf".text = ''
|
|
|
|
Vertical Candidate List=True
|
2024-03-10 05:47:06 +00:00
|
|
|
PreferTextIcon=True
|
2024-03-05 06:05:59 +00:00
|
|
|
'';
|
2023-11-04 10:14:42 +00:00
|
|
|
}
|