I run NixOS within VMWare Fusion (Mitchell Hashimoto has posted something similar https://github.com/mitchellh/nixos-config) in my M4 Max MBP. It runs pretty well but may hit the battery life sometimes. There are some weird stuff that happens with their GPU accelaration and random Fusion crashes sometimes. I patched Hyprland locally in my config due to a weird (but documented) issue with their GPU accelaration implementation https://github.com/AndrewBastin/nixos-config/blob/main/modul...
I have tested Fusion, Parallels and UTM and Fusion seemed to be the most stable for me.
Thanks for this suggestion! Good enough for Mitchell is good enough for me. I tried this yesterday and it’s working great - GPU acceleration enabled out of the box. I’ve got some reservations about NixOS from previous attempts to use it on bare metal - and from reading others’ experiences with the project and concerns about its governance on hn - but I can definitely see that running it in a VM is an altogether different undertaking. Already started customising my configuration.nix and it’s going great. Top contender at this time. Thanks!
I have tested Fusion, Parallels and UTM and Fusion seemed to be the most stable for me.