Set up bluetooth experimental, show battery info for devices, etc...

This commit is contained in:
jay
2025-07-14 07:23:28 -04:00
parent e8e3288d0c
commit 4d55019f4e
2 changed files with 28 additions and 7 deletions

View File

@@ -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;
};
};
};
}