Switch back to wpa_supplicant, lots of tweaks and simplifications

This commit is contained in:
Bun 2025-03-26 09:56:44 -04:00
parent 777ebab1c4
commit 88bf37e5b3
15 changed files with 32 additions and 55 deletions

View file

@ -1,22 +1,13 @@
{ config, lib, pkgs, ... }:
{ config, ... }:
{
config = lib.mkIf config.system.desktop.enable {
services.pipewire = {
services.pipewire = {
enable = config.system.desktop.enable;
wireplumber.extraConfig."wireplumber.settings"."bluetooth.autoswitch-to-headset-profile" = false;
alsa = {
enable = true;
wireplumber = {
enable = true;
configPackages = [
(pkgs.writeTextDir "share/wireplumber/wireplumber.conf.d/11-bluetooth-policy.conf" ''
wireplumber.settings = { bluetooth.autoswitch-to-headset-profile = false }
'')
];
};
alsa = {
enable = true;
support32Bit = true;
};
pulse.enable = true;
#jack.enable = true;
support32Bit = true;
};
pulse.enable = true;
#jack.enable = true;
};
}