From d2b02793c36479bfdc1c2ac3f0f7f8558073b92f Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Wed, 29 Jan 2025 10:59:59 -0500 Subject: [PATCH] update readme for deploying on remotes --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index edaa321..f4406f0 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,7 @@ ## Formatting disks with disko `sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount ` + +## Deploying to the remote +Note: If you need to specify the ssh key, you may inject extra cli options to the ssh command via the NIX_SSHOPTS environment variable +* Anywhere from local: `nixos-rebuild switch --flake .# --target-host root@ --use-remote-sudo`