diff options
| author | Jon Santmyer <jon@jonsantmyer.com> | 2026-08-29 10:27:34 -0400 |
|---|---|---|
| committer | Jon Santmyer <jon@jonsantmyer.com> | 2026-08-29 10:27:34 -0400 |
| commit | b5906d21bbe4cc15ad474397c0e08d4112057af1 (patch) | |
| tree | b770d397079b0c0e1a67836efecba89d55b2c64c /modules/hardware/audio.nix | |
| parent | 40c65ac3e6226dcf5c834c0ba2447df1bd0ca37d (diff) | |
| download | nix-config-desktop.tar.gz nix-config-desktop.tar.bz2 nix-config-desktop.zip | |
desktop changes 2026-08-29desktop
Diffstat (limited to 'modules/hardware/audio.nix')
| -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]; } |
