GPU memory, frigate, raspberry pi

hi everybody,
can anyone tell us how to change gpu memory in home assistant running on raspberry pi?
the raspi-config doesn’t work with hass
what command to put for the config.txt file ?
other ideas?
thank you

Chatgpt gave me the solution.
Did not think about it before

did chatgpt say something like:

$ sudo nano /boot/config.txt

(add the line):
gpu_mem=128

$ sudo reboot

$ vcgencmd get_mem gpu
gpu=128M