Doing as suggested in the manual
{
webserver =
{ config, pkgs, ... }:
{ deployment.targetHost = "1.2.3.4";
};
}
works really well, but it prompts for a password. Isn’t there a way to use a local SSH key for the connection? Seems like there should be one but I found nothing in nixops/nix/options.nix