nix-config/modules/bluetooth/default.nix

23 lines
474 B
Nix

{ inputs, ... }:
{
flake.modules.nixos.bluetooth =
{ ... }:
{
hardware.enableRedistributableFirmware = true;
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
settings = {
General = {
Enable = "Source,Sink,Media,Socket";
Experimental = true;
FastConnectable = true;
};
Policy = {
AutoEnable = true;
};
};
};
};
}