Switch to dbus-broker?

With other distros moving onto dbus-broker, I was wondering if there’s a way to make the switch on NixOS? I see there’s already a package for dbus-broker in the repository, I’m just unsure as to what I have to put in my flake for my system to actually start using it instead of dbus-daemon. Thanks!

1 Like

You should just be able to set the services.dbus.implementation NixOS option to "broker".

2 Likes

can you enlighten a dbus noob like me what are the supposed advantages/drawbacks (link ok) ?

It’s apparently a more performant D-Bus implementation and Fedora and Arch Linux are using it by default. I can’t remember a single time thinking IPC was slowing down my machine, though…

2 Likes