back to building state

This commit is contained in:
Chris Kruining 2025-03-20 16:39:56 +01:00
parent 1eeceb742b
commit ad816fe171
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
14 changed files with 207 additions and 140 deletions

View file

@ -24,7 +24,6 @@ in
enable = true;
wireplumber.enable = true;
pulse.enable = true;
# jack.enable = true;
alsa = {
enable = true;

View file

@ -0,0 +1,33 @@
{ config, options, lib, pkgs, ... }:
let
inherit (lib.attrsets) attrValues;
inherit (lib.modules) mkIf;
cfg = config.modules.system.bluetooth;
in
{
options.modules.system.bluetooth = let
inherit (lib.options) mkEnableOption;
in
{
enable = mkEnableOption "enable bluetooth";
};
config = mkIf cfg.enable {
hardware = {
bluetooth = {
enable = true;
powerOnBoot = 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" ];
};
};
};
}