diff options
1 files changed, 5 insertions, 0 deletions
| -rw-r--r-- | Justfile | 5 |
@@ -4,6 +4,11 @@ HOSTNAME := env_var_or_default("HOSTNAME", "") switch: sudo nixos-rebuild switch +# Build system and switch a remote to it +[no-cd] +deploy remote_host hostname: + NIX_SSHOPTS="-p 2200" nixos-rebuild --target-host {{remote_host}} switch --flake .#{{hostname}} + # Build a NixOS configuration [no-cd] build hostname=HOSTNAME: |
