tasks.py: fix user for darwin deploy

This commit is contained in:
zowoq 2024-03-06 22:00:40 +10:00 committed by Jonas Chevalier
parent 8603c1d570
commit 30d1f741c6

View file

@ -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)