git.iko.soy/typeable/nixpkgs
on master help sign in
dbus service: remove {system,session}.conf from config dir

They are already included by dbus from /run/current-system/sw/share/dbus-1.

commit72b37462668e3a7568d94632994a9df5d7fd37eb authorNikolay Amiantov <ab@fmap.me> dateWed 1 Feb 2017, 15:37 (10 years ago) parent39344a3
1 file changed−8
nixos/modules/services/system/dbus.nix−8
nixos/modules/services/system/dbus.nix−8
@@ -27,14 +27,6 @@ let
2727 ''
2828 mkdir -p $out
2929
30− cp ${pkgs.dbus.out}/share/dbus-1/{system,session}.conf $out
31−
32− # avoid circular includes
33− sed -ri 's@(<include ignore_missing="yes">/etc/dbus-1/(system|session)\.conf</include>)@<!-- \1 -->@g' $out/{system,session}.conf
34−
35− # include by full path
36− sed -ri "s@/etc/dbus-1/(system|session)-@$out/\1-@" $out/{system,session}.conf
37−
3830 sed '${./dbus-system-local.conf.in}' \
3931 -e 's,@servicehelper@,${config.security.wrapperDir}/dbus-daemon-launch-helper,g' \
4032 -e 's,@extra@,${systemExtraxml},' \