Add fcitx5

This commit is contained in:
agryphus 2024-01-28 22:51:32 -05:00
parent 29a95770e5
commit e01d953656

View file

@ -0,0 +1,22 @@
{ config, pkgs, ... }:
{
i18n = {
inputMethod = {
# Have to install fcitx5 through here so that the binary is patched to be able to see the addons.
# If also installed through system packages, the binary without addonds will take precedence.
enabled = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-configtool
fcitx5-rime
fcitx5-chinese-addons
];
};
};
fonts.packages = with pkgs; [
source-han-sans
source-han-serif
];
}