21 lines
490 B
Nix
21 lines
490 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
services.pipewire = {
|
|
enable = config.system.desktop.enable;
|
|
wireplumber = {
|
|
enable = true;
|
|
configPackages = [
|
|
(pkgs.writeTextDir "share/wireplumber/wireplumber.conf.d/11-bluetooth-policy.conf" ''
|
|
wireplumber.settings = { bluetooth.autoswitch-to-headset-profile = false }
|
|
'')
|
|
];
|
|
};
|
|
alsa = {
|
|
enable = true;
|
|
support32Bit = true;
|
|
};
|
|
pulse.enable = true;
|
|
#jack.enable = true;
|
|
};
|
|
}
|