Set up bluetooth experimental, show battery info for devices, etc...
This commit is contained in:
@@ -1,13 +1,29 @@
|
||||
{ ... }: {
|
||||
{ pkgs, ... }: {
|
||||
hardware.bluetooth = {
|
||||
enable = true; # enables support for Bluetooth
|
||||
package = pkgs.bluez-experimental;
|
||||
powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
||||
settings.General = {
|
||||
Privacy = "device";
|
||||
JustWorksRepairing = "always";
|
||||
Class = "0x000100";
|
||||
FastConnectable = true;
|
||||
};
|
||||
settings = {
|
||||
LE = {
|
||||
MinConnectionInterval = 16;
|
||||
MaxConnectionInterval = 16;
|
||||
ConnectionLatency = 10;
|
||||
ConnectionSupervisionTimeout = 100;
|
||||
};
|
||||
|
||||
General = {
|
||||
Enable = "Source,Sink,Media,Socket";
|
||||
Privacy = "device";
|
||||
JustWorksRepairing = "always";
|
||||
Class = "0x000100";
|
||||
Experimental = true;
|
||||
FastConnectable = true;
|
||||
};
|
||||
|
||||
Policy = {
|
||||
AutoEnable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user