mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-27 05:09:18 -05:00
23 lines
413 B
Nix
23 lines
413 B
Nix
|
{
|
||
|
lib,
|
||
|
pkgs,
|
||
|
...
|
||
|
}: {
|
||
|
hardware = {
|
||
|
bluetooth.enable = true;
|
||
|
|
||
|
pulseaudio = {
|
||
|
enable = lib.mkForce false;
|
||
|
package = pkgs.pulseaudioFull; # Use extra Bluetooth codecs like aptX
|
||
|
|
||
|
extraConfig = ''
|
||
|
load-module module-bluetooth-discover
|
||
|
load-module module-bluetooth-policy
|
||
|
load-module module-switch-on-connect
|
||
|
'';
|
||
|
|
||
|
support32Bit = true;
|
||
|
};
|
||
|
};
|
||
|
}
|