25 lines
509 B
Markdown
25 lines
509 B
Markdown
|
|
# 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)
|
||
|
|
```
|