From 024b7a90a30aa645dd5910cd95ab8d1e7682ef99 Mon Sep 17 00:00:00 2001 From: polwex Date: Sun, 26 Oct 2025 01:03:18 +0700 Subject: fcitx ded --- hosts/local/niri.nix | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) (limited to 'hosts/local/niri.nix') diff --git a/hosts/local/niri.nix b/hosts/local/niri.nix index be92df0..ee5fae2 100644 --- a/hosts/local/niri.nix +++ b/hosts/local/niri.nix @@ -35,14 +35,9 @@ _JAVA_AWT_WM_NONREPARENTING = "1"; MOZ_ENABLE_WAYLAND = "1"; - # GTK_IM_MODULE = "fcitx"; - # QT_IM_MODULE = "fcitx"; - # SDL_IM_MODULE = "fcitx"; - XDG_CURRENT_DESKTOP = "sway"; GDK_BACKEND = "wayland"; XDG_SESSION_TYPE = "wayland"; - XMODIFIERS = "@im=fcitx"; }; xdg.portal = { @@ -146,25 +141,6 @@ ]; services.speechd.enable = true; - # cjk input - - i18n.inputMethod = { - type = "fcitx5"; - enable = true; - fcitx5 = { - # enabled = true; - addons = with pkgs; [ - rime-data - fcitx5-rime - fcitx5-mozc - fcitx5-configtool - fcitx5-chinese-addons - fcitx5-gtk - libsForQt5.fcitx5-qt - ]; - waylandFrontend = true; - }; - }; services.xserver.desktopManager.runXdgAutostartIfNone = true; fonts = { @@ -226,6 +202,8 @@ jack.enable = true; }; + i18n.inputMethod.fcitx5.waylandFrontend = true; + # pipewire requires these off # sound.enable = true; # hardware.pulseaudio.enable = true; -- cgit v1.2.3