From f36a33506c45396c13d9ec3152c89f60077defd0 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Sun, 11 May 2025 18:59:38 +0200 Subject: [PATCH] Add remote-deploy just command --- justfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/justfile b/justfile index da4ee0a..086526d 100644 --- a/justfile +++ b/justfile @@ -19,5 +19,8 @@ check: dev shell='default': nix develop .#{{ shell }} --command zsh +deploy +hosts: + deploy --skip-checks --targets $(echo {{ hosts }} | sed 's/[^ ]*/\.#&/g') + install host destination='root@installer': nix run github:nix-community/nixos-anywhere -- --extra-files ~/.ssh/{{ host }} --flake .#{{ host }} --target-host {{ destination }}