32 lines
736 B
Nix
32 lines
736 B
Nix
{ ... }:
|
|
{
|
|
config.dendritic.features.bluetooth = {
|
|
nixosModules = [
|
|
(
|
|
{ lib, ... }:
|
|
{
|
|
|
|
services.blueman.enable = true;
|
|
hardware.bluetooth = {
|
|
enable = lib.mkForce true;
|
|
powerOnBoot = true;
|
|
};
|
|
hardware.bluetooth.settings = {
|
|
Input = {
|
|
# This allows the BLE handshake to bypass classic security checks
|
|
ClassicBondedOnly = false;
|
|
};
|
|
General = {
|
|
# Helps with the "AuthenticationCanceled" error
|
|
JustWorksRepairing = "always";
|
|
};
|
|
};
|
|
|
|
services.upower = {
|
|
enable = true;
|
|
};
|
|
}
|
|
)
|
|
];
|
|
};
|
|
}
|