https://abhinavsarkar.net by @abnv@fantastic.earth
36 posts · 23 Votes · 1 Followers
Life 69% · Tech 22% · Culture 3% · Music 3% · Nature 3%
Subscribe via RSS
microvm.nix is a framework to run NixOS based micro VMs on various platforms. In particular, it can use vfkit to run micro VMs on macOS that use the macOS virtualization framework to provide a more performant VM than QEMU. microvm.nix works well but the documentation is a bit lacking. I had to figure out some gotchas while setting this up on my MacBook Pro M4, so I decided to write this note. This tutorial requires Nix and Nix Darwin to be installed on the macOS machine. To build a micro VM, we…