Run a NixOS closure as a microVM with desktop integration
| devShells | ||
| libkrun@72b8b0870c | ||
| libkrunfw@4b98077866 | ||
| muvm@d6c7496fdb | ||
| nixosModules | ||
| packages | ||
| .envrc | ||
| .gitignore | ||
| .gitmodules | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE.md | ||
| munix | ||
| radvmmio.patch | ||
| README.md | ||
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)