Adapt pipewire-pulse configuration to new version

This commit is contained in:
coolneng 2021-03-31 00:31:17 +02:00
parent a8af2a0e92
commit 3c7c463fee
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 15 additions and 2 deletions

View File

@ -18,8 +18,21 @@ in {
pulse.enable = true;
jack.enable = true;
media-session.enable = true;
config.pipewire-pulse."context.modules"."libpipewire-module-protocol-pulse"."args"."server.address" =
[ "unix:native" "tcp:4713" ];
config.pipewire-pulse."context.modules" = [
{
"args" = { };
"flags" = [ "ifexists" "nofail" ];
"name" = "libpipewire-module-rtkit";
}
{ "name" = "libpipewire-module-protocol-native"; }
{ "name" = "libpipewire-module-client-node"; }
{ "name" = "libpipewire-module-adapter"; }
{ "name" = "libpipewire-module-metadata"; }
{
"args" = { "server.address" = [ "unix:native" "tcp:4713" ]; };
"name" = "libpipewire-module-protocol-pulse";
}
];
};
security.rtkit.enable = true;