nixos/ibus: fix evaluation

Need to reference through `config` when checking what other modules have set.

(cherry picked from commit c9d988b0e1)
This commit is contained in:
Tor Hedin Brønner
2020-04-04 22:45:22 +02:00
committed by worldofpeace
parent 6a0f658dcf
commit b79747ead8

View File

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