Change Bluetooth name Permenantly on Beaglebone

Hello, I am setting beaglebone’s bluettooth name using command - sudo hciconfig hci0 name 'Machine_0001' but it reset after reboot to BeagleBone. I want to set it permenantly on my Beaglebone.

Os- Debian 11(BullsEye)

I think that gets set by hostname, although I’m not certain.
If you try changing the hostname does it make any difference?