From 76f7fc1476cb046404b97a63cb861353d6097f16 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Sat, 28 Mar 2020 18:09:26 -0400 Subject: [PATCH] nixos/ibus: add ibus portal if portals are enabled --- nixos/modules/i18n/input-method/ibus.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/i18n/input-method/ibus.nix b/nixos/modules/i18n/input-method/ibus.nix index a3d97619fc45..b6a21c369e53 100644 --- a/nixos/modules/i18n/input-method/ibus.nix +++ b/nixos/modules/i18n/input-method/ibus.nix @@ -75,5 +75,9 @@ in QT_IM_MODULE = "ibus"; XMODIFIERS = "@im=ibus"; }; + + xdg.portal.extraPortals = mkIf xdg.portal.enable [ + ibusPackage + ]; }; }