blob: 962e51441fa6901977154b2f759bb199bb6eae2b [file] [log] [blame]
{ ... }:
{
services.pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
pulse.enable = true;
jack.enable = true;
extraConfig.pipewire."virtual-audio-device" = {
"context.objects" = [
{
factory = "adapter";
args = {
"factory.name" = "support.null-audio-sink";
"node.name" = "Microphone-Proxy";
"node.description" = "Microphone";
"media.class" = "Audio/Source/Virtual";
"audio.posistion" = "MONO";
};
}
{
factory = "adapter";
args = {
"factory.name" = "support.null-audio-sink";
"node.name" = "Speaker-Proxy";
"node.description" = "Monitors";
"media.class" = "Audio/Sink";
"audio.posistion" = "STEREO";
};
}
];
};
};
}