Set up bluetooth experimental, show battery info for devices, etc...
This commit is contained in:
1 parent
e8e3288d0c
commit
4d55019f4e
2 files changed
+28
-7
No files matched your search
@@ -1,13 +1,29 @@
|
|||||||
{ ... }: {
|
{ pkgs, ... }: {
|
||||||
hardware.bluetooth = {
|
hardware.bluetooth = {
|
||||||
enable = true; # enables support for Bluetooth
|
enable = true; # enables support for Bluetooth
|
||||||
|
package = pkgs.bluez-experimental;
|
||||||
powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
||||||
settings.General = {
|
settings = {
|
||||||
Privacy = "device";
|
LE = {
|
||||||
JustWorksRepairing = "always";
|
MinConnectionInterval = 16;
|
||||||
Class = "0x000100";
|
MaxConnectionInterval = 16;
|
||||||
FastConnectable = true;
|
ConnectionLatency = 10;
|
||||||
};
|
ConnectionSupervisionTimeout = 100;
|
||||||
|
};
|
||||||
|
|
||||||
|
General = {
|
||||||
|
Enable = "Source,Sink,Media,Socket";
|
||||||
|
Privacy = "device";
|
||||||
|
JustWorksRepairing = "always";
|
||||||
|
Class = "0x000100";
|
||||||
|
Experimental = true;
|
||||||
|
FastConnectable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
Policy = {
|
||||||
|
AutoEnable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4,7 +4,12 @@
|
|||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
kernelPackages = pkgs.linuxPackages_xanmod_stable;
|
kernelPackages = pkgs.linuxPackages_xanmod_stable;
|
||||||
|
|
||||||
|
extraModprobeConfig = ''
|
||||||
|
options bluetooth enable_ecred=1
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user