diff options
| author | polwex <polwex@sortug.com> | 2025-10-25 21:08:53 +0700 |
|---|---|---|
| committer | polwex <polwex@sortug.com> | 2025-10-25 21:08:53 +0700 |
| commit | 7fab8239d5cd58e08a4c4dc988472cb7a9449b5b (patch) | |
| tree | 0067e08ce0756fd0f7dcf8e78997d3a929fbf6e1 /hosts/local/gui.nix | |
| parent | 21adca7e6d8f8233ac8d6c00c7be43dc026e8cc5 (diff) | |
p
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"; + }; } |
