diff options
Diffstat (limited to 'hosts/local/gui.nix')
| -rw-r--r-- | hosts/local/gui.nix | 20 |
1 files changed, 20 insertions, 0 deletions
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"; + }; } |
