Skip to content

Commit

Permalink
dconf module: add dconf to services.dbus.packages
Browse files Browse the repository at this point in the history
Some programs like eog seem to need dconf accessible on dbus.
Without this change I get

(eog:1738): dconf-WARNING **: 21:20:52.770: failed to commit changes to
dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
ca.desrt.dconf was not provided by any .service files
  • Loading branch information
symphorien committed Sep 4, 2018
1 parent 0832208 commit 88ae8f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nixos/modules/programs/dconf.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ in
environment.etc = optionals (cfg.profiles != {})
(mapAttrsToList mkDconfProfile cfg.profiles);

services.dbus.packages = [ pkgs.gnome3.dconf ];

environment.variables.GIO_EXTRA_MODULES = optional cfg.enable
"${pkgs.gnome3.dconf.lib}/lib/gio/modules";
# https://github.com/NixOS/nixpkgs/pull/31891
Expand Down

0 comments on commit 88ae8f7

Please sign in to comment.