22 lines
546 B
Nix
22 lines
546 B
Nix
{ pkgs, ... }:
|
|
{
|
|
hardware.bluetooth = {
|
|
enable = true;
|
|
package = pkgs.bluez5-experimental;
|
|
settings = {
|
|
# make Xbox Series X controller work
|
|
General = {
|
|
Class = "0x000100";
|
|
ControllerMode = "bredr";
|
|
FastConnectable = true;
|
|
JustWorksRepairing = "always";
|
|
Privacy = "device";
|
|
# Battery info for Bluetooth devices
|
|
Experimental = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
# https://github.com/NixOS/nixpkgs/issues/114222
|
|
systemd.user.services.telephony_client.enable = false;
|
|
}
|