nix.buildMachines.*.sshUser
NixOS option
The username to log in as on the remote host. This user must be able to log in and run nix commands non-interactively. It must also be privileged to build derivations, so must be included in nix.settings.trusted-users.
type: null or stringDefault
null
Example
declared in: nixos/modules/config/nix-remote-build.nixView source on NixOS/nixpkgs →"builder"