{ config, lib, ... }: let cfg = config.profile.bluetooth; in { config = lib.mkIf cfg.enable { hardware.bluetooth = { enable = true; powerOnBoot = true; }; services.blueman.enable = true; }; }