tasks.py: fix user for darwin deploy
This commit is contained in:
parent
8603c1d570
commit
30d1f741c6
1 changed files with 1 additions and 1 deletions
2
tasks.py
2
tasks.py
|
@ -27,7 +27,7 @@ def deploy_nixos(hosts: List[DeployHost]) -> None:
|
|||
command = "sudo nixos-rebuild"
|
||||
|
||||
res = h.run_local(
|
||||
["nix", "flake", "archive", "--to", f"ssh://{h.host}", "--json"],
|
||||
["nix", "flake", "archive", "--to", f"ssh://{h.user}@{h.host}", "--json"],
|
||||
stdout=subprocess.PIPE,
|
||||
)
|
||||
data = json.loads(res.stdout)
|
||||
|
|
Loading…
Add table
Reference in a new issue