nix-config/modules/pipewire.nix

27 lines
468 B
Nix
Raw Normal View History

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 = {
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;
}