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;