tasks.py: use upstream nixos-anywhere
This commit is contained in:
parent
a3b12e014a
commit
ce35954cc1
1 changed files with 2 additions and 1 deletions
3
tasks.py
3
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,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue