From d98d10c957e68c6c78de3c04ff98c5047235ae44 Mon Sep 17 00:00:00 2001 From: Nickolaj Jepsen Date: Fri, 7 Mar 2025 07:59:42 +0100 Subject: [PATCH] feat(work): enable bluetooth --- hosts/work/bluetooth.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 hosts/work/bluetooth.nix diff --git a/hosts/work/bluetooth.nix b/hosts/work/bluetooth.nix new file mode 100644 index 0000000..4f0700e --- /dev/null +++ b/hosts/work/bluetooth.nix @@ -0,0 +1,15 @@ +_: { + hardware.bluetooth.enable = true; + hardware.bluetooth.powerOnBoot = true; + + services.blueman.enable = true; + + services.pipewire.wireplumber.extraConfig.bluetoothEnhancements = { + "monitor.bluez.properties" = { + "bluez5.enable-sbc-xq" = true; + "bluez5.enable-msbc" = true; + "bluez5.enable-hw-volume" = true; + "bluez5.roles" = [ "hsp_hs" "hsp_ag" "hfp_hf" "hfp_ag" ]; + }; +}; +} \ No newline at end of file