fcitx: use declarative config

This commit is contained in:
Oystein Kristoffer Tveit 2024-06-02 16:31:08 +02:00
parent a8bfbbc532
commit 5dca478291
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 25 additions and 1 deletions

View File

@ -95,9 +95,33 @@ in {
enabled = "fcitx5"; enabled = "fcitx5";
fcitx5.addons = with pkgs; [ fcitx5.addons = with pkgs; [
fcitx5-mozc fcitx5-mozc
# fcitx5-gtk fcitx5-gtk
# fcitx5-chinese-addons # 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";
};
};
}; };
}; };