back to vmware

This commit is contained in:
Evan Reichard 2025-09-01 20:47:12 -04:00
parent b970f6f550
commit f5c4e6c9db
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ sudo nixos-rebuild switch --flake .#lin-va-mbp-personal
### NixOS Generators ### NixOS Generators
```bash ```bash
nix build .#qcowConfigurations.lin-va-rke2 nix build .#vmwareConfigurations.lin-va-rke2
``` ```
### NixOS Anywhere ### NixOS Anywhere

View File

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