Adapt pipewire config to upstream changes

This commit is contained in:
coolneng 2024-06-05 23:01:48 +02:00
parent 45c57f25e4
commit 842b8c8de3
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 6 additions and 10 deletions

View File

@ -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;