From 888c1fbf96c3c167d2216f4451438a335c1c547b Mon Sep 17 00:00:00 2001 From: Nathaniel Glen Date: Thu, 10 Sep 2020 12:54:48 -0400 Subject: [PATCH] nixos/pipewire: add missing dbus dependency Without this it is possible for PipeWire to fail in binding the dbus socket. --- nixos/modules/services/desktops/pipewire.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/desktops/pipewire.nix b/nixos/modules/services/desktops/pipewire.nix index 4ea18e7ae1a8..d51e00c00fd3 100644 --- a/nixos/modules/services/desktops/pipewire.nix +++ b/nixos/modules/services/desktops/pipewire.nix @@ -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.