Everything seems to line up to be able to build remotely:
config.nix.buildMachines:[ { hostName = "hostname"; mandatoryFeatures = [ ]; maxJobs = 1; protocol = "ssh-ng"; publicHostKey = null; speedFactor = 1; sshKey = "/home/username/.ssh/id_ed25519"; sshUser = "username"; supportedFeatures = [ "benchmark" "big-parallel" "flakes" "kvm" "nix-command" "nixos-test" ]; system = "x86_64-linux"; systems = [ ]; } ]ssh username@hostnamesucceedsnix store info --store ssh-ng://username@hostnamesucceeds/etc/nix/nix.confon the builder containsallowed-users = *andtrusted-users = root @wheelusernameis part of thewheelgroup
But when running deploy, it prints
cannot build on ‘ssh-ng://username@hostname’: error: failed to start SSH connection to ‘username@hostname’
What else do I need to do?