From 11ba9e0a46017efe354702100b3b6d311e401783 Mon Sep 17 00:00:00 2001
From: zowoq <59103226+zowoq@users.noreply.github.com>
Date: Sun, 5 May 2024 10:06:09 +1000
Subject: [PATCH] tasks.py: install: add build-on-remote, drop no-reboot

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

diff --git a/tasks.py b/tasks.py
index fc19903..113dceb 100644
--- a/tasks.py
+++ b/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,