{ config, lib, pkgs, ... }:
{
  config = lib.mkIf config.system.desktop.enable {
    hardware.bluetooth = {
      enable = true;
      settings = {
        General.Experimental = "true";
        Policy.AutoEnable = "true";
      };
    };
    environment = {
      systemPackages = with pkgs; [ bluetui ];
      persistence."/persist".directories = [ "/var/lib/bluetooth" ];
    };
  };
}
