Run a NixOS closure as a microVM with desktop integration
Find a file
Jörg Thalheim 6f7f3f2461 Restrict flake to Linux systems and enable allowUnfree for nixosConfigurations
This project is Linux-specific (microVMs, libkrun, systemd, etc.), so
the flake now only exports packages and checks for x86_64-linux and
aarch64-linux systems. This prevents Darwin build failures.

Additionally, nixosConfigurations now set allowUnfree = true to allow
packages like zerotierone that have unfree licenses.
2025-11-03 16:24:04 +01:00
libkrun@72b8b0870c Integrate systemd 2025-10-31 04:53:19 -03:00
libkrunfw@4b98077866 Integrate systemd 2025-10-31 04:53:19 -03:00
muvm@d6c7496fdb Integrate systemd 2025-10-31 04:53:19 -03:00
.envrc Initial commit 2025-09-25 22:29:24 -03:00
.gitignore Initial commit 2025-09-25 22:29:24 -03:00
.gitmodules Integrate systemd 2025-10-31 04:53:19 -03:00
flake.lock Integrate systemd 2025-10-31 04:53:19 -03:00
flake.nix Restrict flake to Linux systems and enable allowUnfree for nixosConfigurations 2025-11-03 16:24:04 +01:00
LICENSE.md Initial commit 2025-09-25 22:29:24 -03:00
munix Integrate systemd 2025-10-31 04:53:19 -03:00
radvmmio.patch Initial commit 2025-09-25 22:29:24 -03:00
README.md Initial commit 2025-09-25 22:29:24 -03:00

munix

WIP: A microVM runner for NixOS systems with desktop integration, powered by muvm/libkrun.

Development

Building an example closure:

nix build '.#nixosConfigurations.x86_64-linux.testvm.config.system.build.toplevel'

Running the nix build:

nix run '.#packages.x86_64-linux.munix' $(readlink result)

Working on muvm & munix locally (not built into the nix store):

cd muvm && cargo build --locked --release
PATH=$PWD/muvm/target/release:$PATH ./munix $(readlink result)