flake/home/applications/fcitx5/default.nix

23 lines
443 B
Nix
Raw Normal View History

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
};
xdg.configFile."fcitx5/conf/classicui.conf".text = ''
Vertical Candidate List=True
2024-03-10 05:47:06 +00:00
PreferTextIcon=True
'';
}