From cc09be2f74e6fc10d7b6611b932708f76c13733d Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sun, 9 Mar 2025 10:59:51 -0700 Subject: [PATCH] feat: Add Justfile recipe for remote deployment --- Justfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Justfile b/Justfile index ee81dfd..341e1fa 100644 --- a/Justfile +++ b/Justfile @@ -18,6 +18,13 @@ alias do := deployos deployos host=defhost: nh os switch -H {{host}} . +alias dro := deployRemoteOs +[group('nixos')] +deployRemoteOs host: + nixos-rebuild switch --flake .#{{host}} \ + --target-host root@{{host}} \ + --verbose --log-format internal-json |& nom --json + alias dd := deploydarwin [group('darwin')] deploydarwin host=defhost: