I develop cross platform software, so it’s important for me to make sure that my stuff works on windows. My current workflow is to dual-boot into windows, but, as I do this rarely, the windows is bitrotted — it doesn’t have my dev tools, my ssh keys, it in general is less hardened than my NixOS host.
I am thinking that a better approach for me would be to boot a windows VM from my NixOS. But the question is: how can I automate the setup? So that I don’t get a bare windows virtual box, but have, eg, rust installed already? Ideally, of course, I’d love for this VM to be a part of my configuration.nix.
Is there anything like this?