flake/home/applications/fcitx5/default.nix

22 lines
443 B
Nix

{
pkgs,
inputs,
...
}: {
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.addons =
(with pkgs; [
libsForQt5.fcitx5-chinese-addons
])
++ (with inputs.berberman.packages.${pkgs.stdenv.hostPlatform.system}; [
fcitx5-pinyin-moegirl
fcitx5-pinyin-zhwiki
]);
};
xdg.configFile."fcitx5/conf/classicui.conf".text = ''
Vertical Candidate List=True
PreferTextIcon=True
'';
}