]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/lang-cmn.nix
+use/op(postgresql): tweak config
[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 # Removed in nixos-25.11
12 #pkgs.libsForQt5.fcitx5-chinese-addons
13 ];
14 };
15 #waylandFrontend = true;
16 home.packages = [
17 pkgs.noto-fonts
18 pkgs.noto-fonts-lgc-plus
19 pkgs.noto-fonts-cjk-sans
20 pkgs.noto-fonts-cjk-serif
21 pkgs.noto-fonts-color-emoji
22 pkgs.noto-fonts-emoji-blob-bin
23 # ExplanationNote: superseded by jigmo
24 #pkgs.hanazono
25 pkgs.jigmo
26 ];
27 xdg.configFile."fcitx5/conf/classicui.conf".text = ''
28 Vertical Candidate List=True
29 PerScreenDPI=False
30 Font="Jigmo Regular 40"
31 #Theme=Material-Color-Black
32 '';
33 xdg.configFile."fcitx5/conf/pinyin.conf".text = ''
34 CloudPinyinEnabled=False
35 '';
36 xdg.configFile."fcitx5/conf/rime.conf".text = ''
37 PreeditInApplication=True
38 '';
39 }