Files
2026-09-20 20:32:33 -04:00

18 lines
366 B
Nix

{ lib
, config
, ...
}:
let
cfg = config.skyg.nixos.common.hardware.bluetooth;
in
{
options.skyg.nixos.common.hardware.bluetooth = with lib; {
enable = mkEnableOption "bluetooth, BR/EDR only (BLE disabled)";
};
config = lib.mkIf cfg.enable {
hardware.bluetooth.enable = true;
hardware.bluetooth.settings.General.ControllerMode = "bredr";
};
}