{ pkgs, ... }: { i18n.inputMethod = { enable = true; type = "fcitx5"; fcitx5 = { waylandFrontend = true; addons = with pkgs; [ kdePackages.fcitx5-chinese-addons fcitx5-rime fcitx5-table-extra fcitx5-table-other fcitx5-lua fcitx5-pinyin-zhwiki fcitx5-gtk kdePackages.fcitx5-qt kdePackages.fcitx5-configtool fcitx5-material-color fcitx5-nord catppuccin-fcitx5 ]; }; }; fonts.fontconfig.defaultFonts = { serif = [ "Noto Serif CJK SC" "Source Han Serif SC" "Noto Serif" ]; sansSerif = [ "Noto Sans CJK SC" "Source Han Sans SC" "Noto Sans" ]; monospace = [ "Noto Sans Mono CJK SC" "Source Han Mono SC" "Noto Sans Mono" "Hack" ]; }; fonts.packages = with pkgs; [ arphic-uming noto-fonts noto-fonts-cjk-sans noto-fonts-cjk-serif noto-fonts-color-emoji source-han-sans source-han-serif source-han-mono wqy_zenhei wqy_microhei ]; }