don't use flake.nix to run vms
This commit is contained in:
parent
bbfef8c4ee
commit
f522d2c362
1 changed files with 1 additions and 1 deletions
|
@ -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"])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue