From 7fab8239d5cd58e08a4c4dc988472cb7a9449b5b Mon Sep 17 00:00:00 2001 From: polwex Date: Sat, 25 Oct 2025 21:08:53 +0700 Subject: p --- hosts/local/gui.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'hosts/local/gui.nix') diff --git a/hosts/local/gui.nix b/hosts/local/gui.nix index 26adeb1..7f023d4 100644 --- a/hosts/local/gui.nix +++ b/hosts/local/gui.nix @@ -56,4 +56,24 @@ glib # gio desktop-file-utils ]; + + i18n.inputMethod = { + enable = true; + type = "fcitx5"; + fcitx5.addons = with pkgs; [ + fcitx5-mozc + # mozc-ut is better, wat do + fcitx5-gtk + libsForQt5.fcitx5-qt + fcitx5-lua + fcitx5-configtool + fcitx5-rime + ]; + }; + environment.variables = { + GTK_IM_MODULE = "fcitx"; + QT_IM_MODULE = "fcitx"; + XMODIFIERS = "@im=fcitx"; + FCITX_SOCKET = "default"; + }; } -- cgit v1.2.3