2023-07-14 01:36:01 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
2024-08-03 17:32:02 +00:00
|
|
|
}: let
|
|
|
|
inherit (lib) mkIf mkEnableOption;
|
|
|
|
|
2023-07-14 01:36:01 +00:00
|
|
|
cfg = config.aa.hardware.bluetooth;
|
|
|
|
in {
|
2024-08-03 17:32:02 +00:00
|
|
|
options.aa.hardware.bluetooth = {
|
2023-07-14 01:36:01 +00:00
|
|
|
enable = mkEnableOption "bluetooth";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
hardware.bluetooth.enable = true;
|
|
|
|
services.blueman.enable = true;
|
|
|
|
};
|
|
|
|
}
|