Home Assistant Static IP

Hi, I’m running my Home assistant server on a Debian 10 Virtual Machine (hosted on a Proxmox server).
I’m having trouble setting up a static IP for my Home assistant instance.
I’ve tryed the usb key config method but it doesn’t work. How can I do that?
Thank you very much!
Best regards

Simone
P.S. I know it’s easy to set up a DHCP reservation on the router but I want totry to set the ip directly on the OS.

Login to console or install ssh addon and connect. Then use nmcli command. Google this and hassio to find tutorial.

Thank for your reply, I’m trying but I cannot set the static IP.nmcli says I have a bridge connection and even if I modify the ipv4 address it remains always the same…