11 lines
423 B
Markdown
11 lines
423 B
Markdown
|
# Build a virtual machine based on your generated configurations
|
||
|
|
||
|
Your Nix configurations are located in the `inventory` folder you can build and run the configuration file you want by running from the NixiN root folder, for example for the demo configuration file:
|
||
|
|
||
|
```bash
|
||
|
nix-build '<nixpkgs/nixos>' -A vm -I nixpkgs=channel:nixos-24.05 -I nixos-config=./inventory/demo-configuration.nix
|
||
|
./result/bin/run-nixos-vm
|
||
|
|
||
|
```
|
||
|
|