17 lines
329 B
Nix
17 lines
329 B
Nix
{
|
|
pkgs,
|
|
tree,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkForce;
|
|
in {
|
|
imports = with tree; [profiles.connectivity.bluetooth];
|
|
|
|
hardware.pulseaudio = {
|
|
extraModules = with pkgs; [pkgs.pulseaudio-modules-bt];
|
|
package = mkForce pkgs.pulseaudioFull;
|
|
extraConfig = "load-module module-switch-on-connect";
|
|
};
|
|
}
|