microvm.nix
skyflake
microvm.nix | skyflake | |
---|---|---|
9 | 3 | |
1,627 | 219 | |
3.5% | 2.3% | |
9.1 | 2.5 | |
6 days ago | 4 months ago | |
Nix | Nix | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
microvm.nix
- We're Leaving Kubernetes
-
NixOS is a good server OS, except when it isn't
One technique employed by microvm.nix[0] is to mount the hosts /nix/store into the guest. This won't shrink the size of the system, but should allow it to be amortized across many different VMs.
I'm not sure how exploitable a read-only virtiofs share is, so this is perhaps not appropriate in some circumstances.
[0]: https://github.com/astro/microvm.nix
-
Tvix – A New Implementation of Nix
- Generating virtual machines/installators from a configuration: https://github.com/astro/microvm.nix and https://github.com/nix-community/nixos-generators
- NixOS MicroVMs
-
Is there a nixos solution for hyperconverged infrastructure?
MicroVM.nix, which creates firecracker/cloud-hypervisor/qemu/etc VMs: https://github.com/astro/microvm.nix
-
Make your QEMU 10 times faster with this one weird trick
FWIW, the contemporary alternative to 9p is virtiofs. It is implemented as a separate service that is running aside the hypervisor. Originally out of qemu, it was rewritten in Rust as a freestanding project that can also be used with cloud-hypervisor and crosvm.
https://gitlab.com/virtio-fs/virtiofsd
On NixOS: https://github.com/astro/microvm.nix
- microvm.nix: A Nix Flake to Easily Run NixOS MicroVMs on NixOS
- Microvm.nix: A Nix Flake to Easily Run NixOS MicroVMs on NixOS
skyflake
-
Is there a nixos solution for hyperconverged infrastructure?
Skyflake, which lets you configure a Nomad cluster of NixOS micro VMs running on NixOS hosts: https://github.com/astro/skyflake
-
Show me the way to cloud infra
You may be interested in something like https://github.com/astro/skyflake too. I have not tried it personally but I think the microvm route has potential.
-
Using NixOS as a Hypervisor for a k3s Cluster in Homelab, can I define the VMs in Nix config?
If you'd like to shed the Kubernetes for running NixOS on a cluster, maybe you want to look into this: https://github.com/astro/skyflake
What are some alternatives?
nix-cargo-integration - Library to easily and effortlessly integrate Cargo projects with Nix.
terranix - terranix is a terraform.json generator with a nix-like feeling
nixt - Simple unit-testing for Nix [maintainer=@Lord-Valen]
nix-nomad - HashiCorp Nomad job definitions in Nix
qemu - QEMU commit queue for 9P (aka 9pfs) changes only. Please see http://wiki.qemu.org/Contribute/SubmitAPatch for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website.
vms.nix - NixOS module for QEMU VM's using a similar interface to nixos-containers.