nix.buildMachines.*.sshKey

Home-Manager option

The path to the SSH private key with which to authenticate on the build machine. The private key must not have a passphrase. If null, the building user (root on NixOS machines) must have an appropriate ssh configuration to log in non-interactively.

type: null or string
Default
null
Example
"/root/.ssh/id_buildhost_builduser"
declared in: <home-manager/modules/misc/nix-remote-build.nix>source unavailable