diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2019-11-09 20:24:39 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-12-07 00:58:30 +0100 |
commit | 175359cfac33794c92fe458fef48161970c0efd4 (patch) | |
tree | a90fa468a6150c503425e965241d8f0631d0e8fb /nixos/modules/i18n | |
parent | 0378baa5fca589a963688cbf2a1f333d224a9344 (diff) |
nixos/ibus: install D-Bus services
IBus contains some D-Bus services, we should install them too. And enable dconf properly.
Diffstat (limited to 'nixos/modules/i18n')
-rw-r--r-- | nixos/modules/i18n/input-method/ibus.nix | 10 |
1 files 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 = { |