]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/lang-cmn.nix
nix: update to nixos-25.05
[julm/julm-nix.git] / home-manager / profiles / lang-cmn.nix
1 { config, pkgs, ... }:
2 {
3 i18n.inputMethod = {
4 type = "fcitx5";
5 enable = true;
6 fcitx5.addons = [
7 # WarningNote: be sure to select « rime »
8 # and not « chinese » in fcitx5-configtool
9 pkgs.fcitx5-rime
10 pkgs.fcitx5-gtk
11 pkgs.libsForQt5.fcitx5-chinese-addons
12 ];
13 };
14 #waylandFrontend = true;
15 home.packages = [
16 pkgs.noto-fonts
17 pkgs.noto-fonts-lgc-plus
18 pkgs.noto-fonts-cjk-sans
19 pkgs.noto-fonts-cjk-serif
20 pkgs.noto-fonts-color-emoji
21 pkgs.noto-fonts-emoji-blob-bin
22 # ExplanationNote: superseded by jigmo
23 #pkgs.hanazono
24 pkgs.jigmo
25 ];
26 xdg.configFile."fcitx5/conf/classicui.conf".text = ''
27 Vertical Candidate List=True
28 PerScreenDPI=False
29 Font="Jigmo Regular 40"
30 #Theme=Material-Color-Black
31 '';
32 xdg.configFile."fcitx5/conf/pinyin.conf".text = ''
33 CloudPinyinEnabled=False
34 '';
35 xdg.configFile."fcitx5/conf/rime.conf".text = ''
36 PreeditInApplication=True
37 '';
38 }