tasks.py: use nixos-anywhere from nixpkgs
This commit is contained in:
parent
17051442e5
commit
2eca43d7cd
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@
|
|||
}
|
||||
|
||||
## `opc` is the username from the oracle image. Replace with root if we are booted into nixos.
|
||||
# nix run github:numtide/nixos-anywhere#nixos-anywhere -- \
|
||||
# nix run --inputs-from . nixpkgs#nixos-anywhere -- \
|
||||
# --debug \
|
||||
# --flake '.#build04' \
|
||||
# opc@141.148.235.248
|
||||
|
|
2
tasks.py
2
tasks.py
|
@ -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,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue