25 lines
453 B
Nix
25 lines
453 B
Nix
{ ... }:
|
|
{
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa = {
|
|
enable = true;
|
|
support32Bit = true;
|
|
};
|
|
pulse.enable = true;
|
|
jack.enable = true;
|
|
extraConfig.pipewire-pulse.pipewire-pulse = {
|
|
"pulse.cmd" = [
|
|
{
|
|
cmd = "load-module";
|
|
args = "module-switch-on-connect";
|
|
}
|
|
{
|
|
cmd = "load-module";
|
|
args = "module-combine-sink";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|