From 175359cfac33794c92fe458fef48161970c0efd4 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 9 Nov 2019 20:24:39 +0100 Subject: [PATCH] nixos/ibus: install D-Bus services IBus contains some D-Bus services, we should install them too. And enable dconf properly. --- nixos/modules/i18n/input-method/ibus.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/nixos/modules/i18n/input-method/ibus.nix b/nixos/modules/i18n/input-method/ibus.nix index 956c521dde05..d7857976fcc0 100644 --- a/nixos/modules/i18n/input-method/ibus.nix +++ b/nixos/modules/i18n/input-method/ibus.nix @@ -53,9 +53,15 @@ in config = mkIf (config.i18n.inputMethod.enabled == "ibus") { i18n.inputMethod.package = ibusPackage; + environment.systemPackages = [ + ibusAutostart + ]; + # Without dconf enabled it is impossible to use IBus - environment.systemPackages = with pkgs; [ - dconf ibusAutostart + programs.dconf.enable = true; + + services.dbus.packages = [ + ibusAutostart ]; environment.variables = {