clean up
This commit is contained in:
1 parent
8cb5978f3a
commit
7a3d64e645
16 files changed
+55
-106
No files matched your search
@@ -0,0 +1,17 @@
|
||||
{ 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";
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user