nixos/pipewire: add missing dbus dependency

Without this it is possible for PipeWire to fail in binding the dbus socket.
This commit is contained in:
Nathaniel Glen 2020-09-10 12:54:48 -04:00
parent c603619042
commit 888c1fbf96

View file

@ -86,6 +86,7 @@ in {
systemd.packages = [ pkgs.pipewire ];
systemd.user.sockets.pipewire.wantedBy = lib.mkIf cfg.socketActivation [ "sockets.target" ];
systemd.user.services.pipewire.bindsTo = [ "dbus.service" ];
services.udev.packages = [ pkgs.pipewire ];
# If any paths are updated here they must also be updated in the package test.