back to vmware
This commit is contained in:
parent
b970f6f550
commit
f5c4e6c9db
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user