From 51ca6ef1ba22f5a2f82667b7b7225a136d04d758 Mon Sep 17 00:00:00 2001 From: tootbrute Date: Sun, 19 Jan 2025 13:41:03 +0800 Subject: [PATCH] trying fcitx5 --- nixosModules/base.nix | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/nixosModules/base.nix b/nixosModules/base.nix index c90a451..b58d294 100644 --- a/nixosModules/base.nix +++ b/nixosModules/base.nix @@ -58,10 +58,28 @@ }; i18n.inputMethod = { - enable = true; - type = "ibus"; - ibus.engines = with pkgs.ibus-engines; [ libpinyin table-chinese]; - }; + enabled = true; + type = "fcitx5"; + addons = with pkgs; [ + fcitx5-chewing + fcitx5-chinese-addons + ]; + }; + + +# il8n.inputMethod.enabled = "fcitx5"; +# il8n.inputMethod.fcitx5.addons = with pkgs; [ +# fcitx5-chewing +# fcitx5-chinese-addons + #what is for pinyin? +# ]; + +# trying FCITX5 first +# i18n.inputMethod = { +# enable = true; +# type = "ibus"; +# ibus.engines = with pkgs.ibus-engines; [ libpinyin table-chinese]; +# }; # Enable the X11 windowing system. services.xserver.enable = true;