tasks.py: install: add build-on-remote, drop no-reboot
This commit is contained in:
parent
4fe3aaf1a4
commit
11ba9e0a46
1 changed files with 1 additions and 1 deletions
2
tasks.py
2
tasks.py
|
@ -181,7 +181,7 @@ def install(c: Any, flake_attr: str, hostname: str) -> None:
|
|||
return
|
||||
with TemporaryDirectory() as tmpdir:
|
||||
decrypt_host_key(flake_attr, tmpdir)
|
||||
flags = "--debug --no-reboot --option accept-flake-config true"
|
||||
flags = "--build-on-remote --debug --option accept-flake-config true"
|
||||
c.run(
|
||||
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