The Nix configuration for my M1 Mac.
The goal here is to:
- Have a somewhat lightweight Linux VM in which to run the Docker daemon.
- Leverage said Linux VM for not-containers things from time to time.
- Manage both the MacOS host and the Linux VM using the same, declarative tool.
I use nix-darwin to configure the Mac's command-line environment. I also run a headless NixOS VM in Parallels. My user on both is configured using home-manager.