From 842b8c8de336e9d2170cf8bb0d6113aa0d674310 Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 5 Jun 2024 23:01:48 +0200 Subject: [PATCH] Adapt pipewire config to upstream changes --- modules/audio.nix | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/modules/audio.nix b/modules/audio.nix index ed9c8e0..4ec0f34 100644 --- a/modules/audio.nix +++ b/modules/audio.nix @@ -20,19 +20,15 @@ in { }; pulse.enable = true; wireplumber.enable = true; + # Enable pipewire-pulse's audio via TCP + extraConfig.pipewire-pulse = { + "pulse.properties" = { + "server.address" = [ "unix:native" "tcp:127.0.0.1:4713" ]; + }; + }; }; security.rtkit.enable = true; - # Enable pipewire-pulse's audio via TCP - environment.etc."pipewire/pipewire-pulse.conf.d/pulse-server.conf".text = '' - pulse.properties = { - server.address = [ - "unix:native" - "tcp:127.0.0.1:4713" - ] - } - ''; - # Set up Mopidy services.mopidy = { enable = true;