nixos/ibus: fix evaluation

Need to reference through `config` when checking what other modules have set.
This commit is contained in:
Tor Hedin Brønner 2020-04-04 22:45:22 +02:00
parent 6a2e5dd90c
commit c9d988b0e1

View File

@ -76,7 +76,7 @@ in
XMODIFIERS = "@im=ibus"; XMODIFIERS = "@im=ibus";
}; };
xdg.portal.extraPortals = mkIf xdg.portal.enable [ xdg.portal.extraPortals = mkIf config.xdg.portal.enable [
ibusPackage ibusPackage
]; ];
}; };