2025-04-23 14:19:05 +01:00
|
|
|
{ config, lib, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let
|
2025-04-30 03:09:17 +01:00
|
|
|
cfg = config.features.core.bluetooth;
|
2025-04-23 14:19:05 +01:00
|
|
|
in
|
|
|
|
{
|
2025-04-30 03:09:17 +01:00
|
|
|
options.features.core.bluetooth.enable = mkEnableOption "Enable bluetooth";
|
2025-04-23 14:19:05 +01:00
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
hardware.bluetooth.enable = true;
|
|
|
|
|
|
|
|
services.blueman.enable = true;
|
|
|
|
};
|
|
|
|
}
|