From 3c062a788580a846acb16a5a9ad519bbee2c3747 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 12 Nov 2026 01:21:34 +0000 Subject: README: explain ports of buildTarget and target --- README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index f4c0187..35788cd 100644 --- a/README.md +++ b/README.md @@ -147,6 +147,10 @@ Built packages will be uploaded from the `buildTarget` to `target` directly This requires the building machine to have ssh access to the target. To build the system on the same machine, that runs the krops command, set up a local ssh service and set the build host to localhost. +`nixos-rebuild` can't be told the ports of `buildTarget` and `target`, so their +`port` attributes apply only to syncing the sources. If both use the same +non-default port, set `NIX_SSHOPTS="-p PORT"` when deploying, so +`nixos-rebuild` uses it as well. ### `crossDeploy` (optional, defaults to false) -- cgit v1.3.1