mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 09:09:45 +01:00
im/fcitx5: use home.sessionSearchVariables for QT_PLUGIN_PATH
This commit is contained in:
parent
7d4f510f26
commit
52ea78741b
1 changed files with 9 additions and 7 deletions
|
@ -23,13 +23,15 @@ in {
|
||||||
config = mkIf (im.enabled == "fcitx5") {
|
config = mkIf (im.enabled == "fcitx5") {
|
||||||
i18n.inputMethod.package = fcitx5Package;
|
i18n.inputMethod.package = fcitx5Package;
|
||||||
|
|
||||||
home.sessionVariables = {
|
home = {
|
||||||
|
sessionVariables = {
|
||||||
GLFW_IM_MODULE = "ibus"; # IME support in kitty
|
GLFW_IM_MODULE = "ibus"; # IME support in kitty
|
||||||
GTK_IM_MODULE = "fcitx";
|
GTK_IM_MODULE = "fcitx";
|
||||||
QT_IM_MODULE = "fcitx";
|
QT_IM_MODULE = "fcitx";
|
||||||
XMODIFIERS = "@im=fcitx";
|
XMODIFIERS = "@im=fcitx";
|
||||||
QT_PLUGIN_PATH =
|
};
|
||||||
"$QT_PLUGIN_PATH\${QT_PLUGIN_PATH:+:}${fcitx5Package}/${pkgs.qt6.qtbase.qtPluginPrefix}";
|
sessionSearchVariables.QT_PLUGIN_PATH =
|
||||||
|
[ "${fcitx5Package}/${pkgs.qt6.qtbase.qtPluginPrefix}" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services.fcitx5-daemon = {
|
systemd.user.services.fcitx5-daemon = {
|
||||||
|
|
Loading…
Reference in a new issue