Depending on which Mac mini and macOS version you have, you could try one of the following methods...
https://www.jeffgeerling.com/blog/2025/you-can-finally-manage-macs-filevault-remotely-tahoe/
https://klass.wiki/reference/macintosh/reboot-your-mac-skip-filevault-2-login.html