I started tinkering with the idea of replacing the macOS terminal with nixOS in a VM, similar to what Mitchell Hashimoto does: Dev Tool Time with Mitchell Hashimoto - YouTube
Also started playing with the reverse idea: run nixOS+sway on the Lenovo X1 as the main desktop, and run all the graphical stuff (email, calendar, contacts, etc) in a graphical linux VM.
In both scenarios, I’m running into shared folders + graphical (performance bad, resolution) problems.
I love the idea of having the whole linux config in the flake.nix and building the vm with nixos-rebuild.
Where the fun stops is actually using the VM.
- Is there an undocumented, known set of config options that runs a near-native GUI linux guest under nixos?
- Is there the same for macOS? I’m not sure if the same virtualisation drivers are useful under aarm64 and x86_64 / Intel
- Is there a mount point that has to be defined in
configuration.nix
in order for qemu guest to share the whole home dir with the host? I do have services.qemuGuest and services.spice-vdagentd enabled, but don’t see the shared folder anywhere.
I’m aware this can be achieved with VMWare Fusion and Parallels, not sure about Virtualbox, but would like to stay with qemu and nixos-rebuild workflow if possible.
TIA