diff options
Diffstat (limited to 'modules/hardware')
| -rw-r--r-- | modules/hardware/audio.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/hardware/audio.nix b/modules/hardware/audio.nix index a674597..d70b1d2 100644 --- a/modules/hardware/audio.nix +++ b/modules/hardware/audio.nix @@ -29,10 +29,19 @@ in { "bluez5.enable-sbc-xq" = true; "bluez5.enable-msbc" = true; "bluez5.enable-hw-volume" = true; + "bluez5.roles" = [ "hsp_hs" "hsp_ag" "hfp_hf" "hfp_ag" "a2dp_source" "bap_source" ]; }; }; }; + environment.systemPackages = with pkgs; [ + alsa-firmware + alsa-oss + alsa-ucm-conf + ]; + + hardware.alsa.enablePersistence = true; + user.extraGroups = ["audio"]; home.packages = [pkgs.pavucontrol]; } |
