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`