Wroclaw
e0441d161b
this script builds and launches vm with configuration, and removes the img after closing vm note that you shulre remove from configuration.nix device specific entries (like hdds, network adapters)
1 line
143 B
Bash
Executable file
1 line
143 B
Bash
Executable file
nix-build '<nixpkgs/nixos>' -A vm -I nixpkgs=channel:nixos-23.11 -I nixos-config=./configuration.nix && $(ls ./result/bin/run-*) && rm *.qcow2
|