summaryrefslogtreecommitdiffstats
path: root/lass/2configs/pipewire.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-03-23 17:03:58 +0100
committerlassulus <lassulus@lassul.us>2022-03-23 17:03:58 +0100
commitd2556cf5c7d6cc03c12b4ec553e1411c90b3e00e (patch)
tree1074ceb05321e3864f98e6172e4824eb9772503d /lass/2configs/pipewire.nix
parent5f317cd595232cbe9729f0ccbde7501f759d66c7 (diff)
l pipwire: add wireplumber workaround for systemWide
Diffstat (limited to 'lass/2configs/pipewire.nix')
-rw-r--r--lass/2configs/pipewire.nix11
1 files changed, 11 insertions, 0 deletions
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";
+ };
}