This is a super subjective issue.
So Linux is a great OS but if you are here you probably know that. Here are my recommendations.
1. If you need to use Windows, then install
https://www.sandboxie.com/ and learn how to use it. Sandbox your email client, your web browser, and anything that can move files from the internet to your computer.
2. If you are using Linux, then install and use Firejail and apparmor if possible. Learn how that works and deploy it. Manjaro users will require a custom kernel but if you are an Ubuntu user you can use AppArmor out the box.
3. What delivery method are you afraid of? Javascript exploits? PDF files? Putting weird devices into your ports?
You cannot mitigate the danger of ransomware until you understand your security footprint and where you are most likely to be vulnerable. You may be a business owner who deals with pdf invoices all day. That is a major vulnerability and you may want to run `firejail mupdf` to deal with those files.
Also some malware is designed to check if it is in a VM and not run in the hopes you will move it out of the VM. Using a VM is a tool but not a catch all resolution to the problem of running bad code.
What are you doing that could introduce bad code into your system? Browsing websites? Sharing files over email? Using the computer for business where you might be forced to plug a thumb drive in? Each of these issues require specific steps to inoculate against danger.
Why not work towards eliminating the biggest virus of them all and get rid of your reliance on Windows?
Thanks,
Aaron