So on Debain 12, is there a way to configure tor to start automatically when the os boots? Thanks.
If you've installed Tor from the repositories it will install a systemd .service and it should be enabled by default.
Check the status of tor.service :
$ systemctl status tor
Enable the service on start :
$ systemctl enable tor