switch to wireplumber, fix notifications, use playerctl for media
This commit is contained in:
parent
26a8e34a59
commit
a871d120f5
3 changed files with 34 additions and 80 deletions
|
@ -21,32 +21,9 @@ in
|
|||
alsa.support32Bit = lib.mkDefault true;
|
||||
pulse.enable = lib.mkDefault true;
|
||||
|
||||
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" ];
|
||||
"vm.overrides" = { "pulse.min.quantum" = "1024/48000"; };
|
||||
};
|
||||
"name" = "libpipewire-module-protocol-pulse";
|
||||
}
|
||||
];
|
||||
"context.properties" = { };
|
||||
"context.spa-libs" = {
|
||||
"audio.convert.*" = "audioconvert/libspa-audioconvert";
|
||||
"support.*" = "support/libspa-support";
|
||||
};
|
||||
"stream.properties" = { };
|
||||
};
|
||||
media-session.enable = lib.mkDefault false;
|
||||
wireplumber.enable = lib.mkDefault true;
|
||||
|
||||
media-session.config.bluez-monitor = {
|
||||
properties = {
|
||||
"bluez5.codecs" = [ "sbc" "aac" "ldac" "aptx" "aptx_hd" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue