[Nix-dev] systemPackages vs. services.dbus.packages

Kirill Elagin kirelagin at gmail.com
Mon Apr 7 11:36:28 CEST 2014


Hi all,

I've just noticed that some of system packages have their DBus config
sourced twice.
Their `etc/dbus-1/system.d/` directories are both explicitly listed in
`/etc/dbus-1/system.conf` and are symlinked from
`/nix/store/${hash}-system-path/etc/dbus-1/system.d`.

The former happens because those packages are in services.dbus.packages,
and the latter is because they are in systemPackages and dbus modules adds
`/etc/dbus` to environment.pathsToLink.

That said, not all of the packages having their files in
`system-path/etc/dbus-1/system.d` also have them mentioned in
`/etc/dbus-1/system.conf`, that is, they are not listed in
services.dbus.packages. Those are (on my system) bluetooth, systemd
daemons, KDE stuff and PulseAudio.

So, the question is: what is the purpose of having services.dbus.packages
if those configs are considered anyway due to packages being in
systemPackages?


--
Кирилл Елагин
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140407/c6954bf8/attachment.html 


More information about the nix-dev mailing list