feat(bluetooth): add enable option

This commit is contained in:
2026-05-22 20:14:59 +02:00
parent 4b6f4014b2
commit 95a4409494

View File

@@ -1,4 +1,12 @@
{ lib, config, ... }:
let
cfg = config.bluetooth;
in
{
options.bluetooth.enable = lib.mkEnableOption "bluetooth";
config = lib.mkIf cfg.enable {
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
@@ -12,4 +20,5 @@
};
};
};
};
}