fcitx: use declarative config
This commit is contained in:
parent
a8bfbbc532
commit
5dca478291
|
@ -95,9 +95,33 @@ in {
|
|||
enabled = "fcitx5";
|
||||
fcitx5.addons = with pkgs; [
|
||||
fcitx5-mozc
|
||||
# fcitx5-gtk
|
||||
fcitx5-gtk
|
||||
# fcitx5-chinese-addons
|
||||
];
|
||||
|
||||
fcitx5.ignoreUserConfig = true;
|
||||
fcitx5.settings.inputMethod = {
|
||||
"Groups/0" = {
|
||||
"Name" = "Default";
|
||||
"Default Layout" = "ch";
|
||||
"DefaultIM" = "mozc";
|
||||
};
|
||||
"Groups/0/Items/0" = {
|
||||
"Name" = "keybord-us";
|
||||
"Layout" = null;
|
||||
};
|
||||
"Groups/0/Items/1" = {
|
||||
"Name" = "keybord-no";
|
||||
"Layout" = null;
|
||||
};
|
||||
"Groups/0/Items/2" = {
|
||||
"Name" = "mozc";
|
||||
"Layout" = null;
|
||||
};
|
||||
"GroupOrder" = {
|
||||
"0" = "Default";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue