diff --git a/hosts/common.nix b/hosts/common.nix index 95fe8fe..70a8cae 100644 --- a/hosts/common.nix +++ b/hosts/common.nix @@ -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"; + }; + }; }; };