Set up bluetooth experimental, show battery info for devices, etc...
This commit is contained in:
@@ -1,12 +1,28 @@
|
|||||||
{ ... }: {
|
{ 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