stockholm/lass/1systems/wizard/run-vm.sh

8 lines
177 B
Bash
Raw Normal View History

2020-09-27 13:26:35 +00:00
#!/usr/bin/env nix-shell
#! nix-shell -i bash -p nixos-generators
set -efu
WD=$(dirname "$0")
nixos-generate -I stockholm="$WD"/../../.. -c "$WD"/config.nix -f vm-nogui --run