42 lines
1.2 KiB
Nix
42 lines
1.2 KiB
Nix
{ ... }:
|
|
|
|
{
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
jack.enable = true;
|
|
|
|
wireplumber.extraConfig."99-default-audio" = {
|
|
"monitor.alsa.rules" = [
|
|
{
|
|
matches = [
|
|
{
|
|
"device.name" = "alsa_card.usb-ACTIONS_Pebble_V3-00";
|
|
}
|
|
];
|
|
actions = {
|
|
update-props = {
|
|
"api.alsa.soft-mixer" = true;
|
|
};
|
|
};
|
|
}
|
|
{
|
|
matches = [
|
|
{
|
|
"node.name" = "alsa_output.usb-ACTIONS_Pebble_V3-00.analog-stereo";
|
|
}
|
|
];
|
|
actions = {
|
|
update-props = {
|
|
"priority.driver" = 2000;
|
|
"priority.sessions" = 2000;
|
|
};
|
|
};
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|