summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2021-05-17 01:32:18 +0200
committerJan Tojnar <jtojnar@gmail.com>2021-05-17 09:46:07 +0200
commit354e005d6c7a910fd009b90360545fed8ddba4a2 (patch)
treea38f05e673828ae38efe62432639302f2e072280 /nixos
parentb5f84d830b514435c5e37928ffce0300b8170d88 (diff)
downloadnixpkgs-354e005d6c7a910fd009b90360545fed8ddba4a2.tar
nixpkgs-354e005d6c7a910fd009b90360545fed8ddba4a2.tar.gz
nixpkgs-354e005d6c7a910fd009b90360545fed8ddba4a2.tar.bz2
nixpkgs-354e005d6c7a910fd009b90360545fed8ddba4a2.tar.lz
nixpkgs-354e005d6c7a910fd009b90360545fed8ddba4a2.tar.xz
nixpkgs-354e005d6c7a910fd009b90360545fed8ddba4a2.tar.zst
nixpkgs-354e005d6c7a910fd009b90360545fed8ddba4a2.zip
nixos/dconf: fix d-bus activation
dconf now supports autostarting the d-bus service using systemd's d-bus activation.

https://gitlab.gnome.org/GNOME/dconf/-/commit/2781a8684855e4120c9948d8b40880bafafe1b12

On NixOS, that requires making systemd aware of the package.

Fixes: https://github.com/NixOS/nixpkgs/issues/123265
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/programs/dconf.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/programs/dconf.nix b/nixos/modules/programs/dconf.nix
index ec85cb9d18c..298abac8afa 100644
--- a/nixos/modules/programs/dconf.nix
+++ b/nixos/modules/programs/dconf.nix
@@ -54,6 +54,8 @@ in
 
     services.dbus.packages = [ pkgs.dconf ];
 
+    systemd.packages = [ pkgs.dconf ];
+
     # For dconf executable
     environment.systemPackages = [ pkgs.dconf ];