qt: workaround issue when i18n.inputMethod.enabled = 'fcitx5'

This commit is contained in:
Thiago Kenji Okada
2023-10-18 16:15:49 +01:00
parent 4b2d3b03be
commit 3452e14ec7
3 changed files with 12 additions and 6 deletions

View File

@@ -28,8 +28,9 @@ in {
GTK_IM_MODULE = "fcitx";
QT_IM_MODULE = "fcitx";
XMODIFIERS = "@im=fcitx";
QT_PLUGIN_PATH =
"${fcitx5Package}/${pkgs.qt6.qtbase.qtPluginPrefix}:\${QT_PLUGIN_PATH}";
# Using mkDefault here since we override this value in qt module if enabled
QT_PLUGIN_PATH = lib.mkDefault
"$QT_PLUGIN_PATH\${QT_PLUGIN_PATH:+:}${fcitx5Package}/${pkgs.qt6.qtbase.qtPluginPrefix}";
};
systemd.user.services.fcitx5-daemon = {