From ce35954cc11480208a0026e880c8f9d5e979c3d5 Mon Sep 17 00:00:00 2001
From: zowoq <59103226+zowoq@users.noreply.github.com>
Date: Sat, 2 Dec 2023 06:48:28 +1000
Subject: [PATCH] tasks.py: use upstream nixos-anywhere

---
 tasks.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tasks.py b/tasks.py
index 412dc34..61193e3 100644
--- a/tasks.py
+++ b/tasks.py
@@ -181,8 +181,9 @@ def install(c: Any, flake_attr: str, hostname: str) -> None:
     with TemporaryDirectory() as tmpdir:
         decrypt_host_key(flake_attr, tmpdir)
         flags = "--debug --no-reboot --option accept-flake-config true"
+        # we want 1.1.0 here: https://github.com/NixOS/nixpkgs/pull/271446
         c.run(
-            f"nix run --inputs-from . nixpkgs#nixos-anywhere -- {hostname} --extra-files {tmpdir} --flake .#{flake_attr} {flags}",
+            f"nix run --inputs-from . github:nix-community/nixos-anywhere -- {hostname} --extra-files {tmpdir} --flake .#{flake_attr} {flags}",
             echo=True,
         )