From d2556cf5c7d6cc03c12b4ec553e1411c90b3e00e Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 23 Mar 2022 17:03:58 +0100 Subject: l pipwire: add wireplumber workaround for systemWide --- lass/2configs/pipewire.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lass/2configs/pipewire.nix b/lass/2configs/pipewire.nix index 74da44bd7..f6ccd48d4 100644 --- a/lass/2configs/pipewire.nix +++ b/lass/2configs/pipewire.nix @@ -22,4 +22,15 @@ pulse.enable = true; jack.enable = true; }; + + systemd.services.wireplumber = { + environment = { + HOME = "/var/lib/wireplumber"; + DISPLAY = ":0"; + }; + path = [ + pkgs.dbus + ]; + serviceConfig.StateDirectory = "wireplumber"; + }; } -- cgit v1.2.3