nixin-web/build-virtual-machine.md
2024-09-28 20:11:22 +03:00

423 B

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:

nix-build '<nixpkgs/nixos>' -A vm -I nixpkgs=channel:nixos-24.05 -I nixos-config=./inventory/demo-configuration.nix
./result/bin/run-nixos-vm