summaryrefslogtreecommitdiffstats
path: root/modules/hardware/audio.nix
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2026-08-29 10:27:34 -0400
committerJon Santmyer <jon@jonsantmyer.com>2026-08-29 10:27:34 -0400
commitb5906d21bbe4cc15ad474397c0e08d4112057af1 (patch)
treeb770d397079b0c0e1a67836efecba89d55b2c64c /modules/hardware/audio.nix
parent40c65ac3e6226dcf5c834c0ba2447df1bd0ca37d (diff)
downloadnix-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.nix9
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];
}