{ config, lib, ... }: { options.bchmnn = { bluetooth = { enable = lib.mkEnableOption "bluetooth"; }; }; config = lib.mkIf config.bchmnn.bluetooth.enable { hardware.bluetooth = { enable = true; powerOnBoot = true; }; services.blueman.enable = true; }; }