don't use flake.nix to run vms

This commit is contained in:
cswimr 2025-01-28 07:45:30 -06:00
parent bbfef8c4ee
commit f522d2c362
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -52,7 +52,7 @@ def _vm(args):
c = colors.Colors
if (vm_path / "flake.nix").exists():
build_vm_args.extend(["--flake", f"{vm_path}/flake.nix#nixos"])
build_vm_args.extend(["--flake", f"{vm_path}#nixos"])
elif (vm_path / "default.nix").exists():
build_vm_args.extend(["-I", f"nixos-config={vm_path}/default.nix", "--no-flake"])