From 30d1f741c6657b5f98f21baba6d1f96c21f3234d Mon Sep 17 00:00:00 2001
From: zowoq <59103226+zowoq@users.noreply.github.com>
Date: Wed, 6 Mar 2024 22:00:40 +1000
Subject: [PATCH] tasks.py: fix user for darwin deploy

---
 tasks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tasks.py b/tasks.py
index 91b0b40..25ccc8d 100644
--- a/tasks.py
+++ b/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)