3 ms·
I recently moved my homelab to NixOS, since it lets me use the same system to manage the hosts and the guests declaratively. I wrote up my approach at [1], in
by Nullabillity 9y ago
I recently moved my homelab to NixOS, since it lets me use the same system to manage the hosts and the guests declaratively.
I wrote up my approach at [1], in case you're curious.
1: https://nixos.wiki/wiki/Virtualization_in_NixOS https://nixos.wiki/wiki/Virtualization_in_NixOS
- drvdevd 9y agoThis is great! Thanks! What an excellent use of NixOS.
- elcritch 9y agoInteresting approach! When/if you update a KVM instance, does it recreate it?
- Nullabillity 9y agoNo, the contents of the instances are managed by a separate NixOps network, since it would be wasteful to send the full image (~1GB) for each instance each time a package is updated. The purpose of the base image is to preinstall something that's ready for NixOps to "take over" with whatever I actually want to run on the VM.