2023-01-22 14:17:51 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
environment.systemPackages = with pkgs; [pulseaudio pulsemixer];
|
|
|
|
|
|
|
|
hardware.pulseaudio.enable = lib.mkForce false;
|
|
|
|
hardware.bluetooth.enable = true;
|
2023-01-22 14:53:39 +01:00
|
|
|
hardware.bluetooth.settings = {
|
2023-01-28 02:50:14 +01:00
|
|
|
General = {
|
|
|
|
Enable = "Source,Sink,Media,Socket";
|
|
|
|
};
|
2023-01-22 14:53:39 +01:00
|
|
|
};
|
2023-01-22 14:17:51 +01:00
|
|
|
|
|
|
|
security.rtkit.enable = true;
|
|
|
|
|
|
|
|
services.pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
2023-01-22 14:53:39 +01:00
|
|
|
jack.enable = true;
|
2023-01-22 14:17:51 +01:00
|
|
|
pulse.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
sound.enable = true;
|
|
|
|
}
|