tasks.py: use nixos-anywhere from nixpkgs

This commit is contained in:
zowoq 2023-09-24 10:00:51 +10:00
parent 17051442e5
commit 2eca43d7cd
2 changed files with 2 additions and 2 deletions

View file

@ -174,7 +174,7 @@ def install(c: Any, flake_attr: str, hostname: str) -> None:
decrypt_host_key(flake_attr, tmpdir)
flags = "--debug --no-reboot --option accept-flake-config true"
c.run(
f"nix run github:numtide/nixos-anywhere -- {hostname} --extra-files {tmpdir} --flake .#{flake_attr} {flags}",
f"nix run --inputs-from . nixpkgs#nixos-anywhere -- {hostname} --extra-files {tmpdir} --flake .#{flake_attr} {flags}",
echo=True,
)