nixos-config/pipewire.nix

39 lines
778 B
Nix
Raw Permalink Normal View History

2020-12-04 17:54:20 +01:00
{ config, pkgs, ... }:
{
users.extraUsers.gebner.extraGroups = [ "bluetooth" ];
2021-04-10 20:00:11 +02:00
security.rtkit.enable = true;
2020-12-04 17:54:20 +01:00
services.pipewire = {
enable = true;
alsa.enable = true;
2021-04-10 20:00:11 +02:00
alsa.support32Bit = true;
2020-12-04 17:54:20 +01:00
pulse.enable = true;
2021-04-10 20:00:11 +02:00
jack.enable = true;
2023-05-15 02:57:58 +02:00
# media-session.config.bluez-monitor.rules = [
# {
# # Matches all cards
# matches = [ { "device.name" = "~bluez_card.*"; } ];
# actions = {
# "update-props" = {
# "bluez5.reconnect-profiles" = [ "hfp_hf" "hsp_hs" "a2dp_sink" ];
# "bluez5.msbc-support" = true;
# };
# };
# }
# ];
2020-12-04 17:54:20 +01:00
};
2020-12-23 20:18:03 +01:00
environment.systemPackages = with pkgs; [
pulseaudio
alsaUtils
carla
2020-12-26 12:12:23 +01:00
qjackctl
pipewire.lib
2021-10-18 14:22:18 +02:00
helvum
2020-12-23 20:18:03 +01:00
];
2020-12-04 17:54:20 +01:00
}