3 ms·
Related: Building NixOS qcow2 images with flakes: https://tarnbarford.net/journal/building-nixos-qcow2-images-with-flakes/ https://tarnbarford.net/journal/bui
by peter_d_sherman 3y ago
Related:
Building NixOS qcow2 images with flakes:
https://tarnbarford.net/journal/building-nixos-qcow2-images-with-flakes/ https://tarnbarford.net/journal/building-nixos-qcow2-images-...
Build a bare bones bootable nixos qcow2 image suitable for running with libvirt/qemu/kvm:
https://gist.github.com/tarnacious/f9674436fff0efeb4bb6585c79a3b9ff https://gist.github.com/tarnacious/f9674436fff0efeb4bb6585c7...
A Journey into Nix and NixOS (Building a QEMU image):
https://williamvds.me/blog/journey-into-nix/#:~:text=Building%20a%20QEMU%20image https://williamvds.me/blog/journey-into-nix/#:~:text=Buildin...
Setting up qemu VM using nix flakes:
https://gist.github.com/FlakM/0535b8aa7efec56906c5ab5e32580adf https://gist.github.com/FlakM/0535b8aa7efec56906c5ab5e32580a...
- Jhsto 3y agoAnother note, NixOS containers with systemd-nspawn cpmpatibility: https://nixos.wiki/wiki/NixOS_Containers https://nixos.wiki/wiki/NixOS_Containers There is a good blog post here about how these work: https://www.tweag.io/blog/2020-07-31-nixos-flakes/ https://www.tweag.io/blog/2020-07-31-nixos-flakes/ And of course, it is just a tarball, so it works on every systemd based distro.
- peter_d_sherman 3y agoThere's also this: "Not-OS – NixOS-based OS generator that outputs an OS with 47MB squashfs": https://news.ycombinator.com/item?id=34679031 https://news.ycombinator.com/item?id=34679031 https://github.com/cleverca22/not-os https://github.com/cleverca22/not-os For memory constrained VMs and containers based on NixOS... Of course, even that isn't as small as Alpine's absolutely tiny 5MB Docker image: https://hub.docker.com/_/alpine https://hub.docker.com/_/alpine