move to qcow2

This commit is contained in:
Evan Reichard 2025-04-09 21:15:18 -04:00
parent 8c19fb2d7e
commit 11495102c7
2 changed files with 2 additions and 2 deletions

View File

@ -31,13 +31,13 @@ function cmd_image() {
# Validate Config Exists
if ! nix eval --json --impure \
".#vmwareConfigurations" \
".#qcowConfigurations" \
--apply "s: builtins.hasAttr \"$name\" s" 2>/dev/null | grep -q "true"; then
echo "Error: NixOS Generator Config '$name' not found"
exit 1
fi
build_args=(".#vmwareConfigurations.$name")
build_args=(".#qcowConfigurations.$name")
if [ "$remote" = true ]; then
build_args+=("-j0")
fi