morph: remove ssh package

This commit is contained in:
Sean Buckley 2021-12-21 01:07:31 -05:00
parent d819485cd6
commit eecf8fa94e

View file

@ -111,10 +111,5 @@ in
NIX_SSHOPTS="-F${sshConfig}" nix copy --to ssh://root@$ip ${self} NIX_SSHOPTS="-F${sshConfig}" nix copy --to ssh://root@$ip ${self}
exec ssh -oForwardAgent=yes -F"${sshConfig}" "$ip" -t "cd ${self}; nix develop" exec ssh -oForwardAgent=yes -F"${sshConfig}" "$ip" -t "cd ${self}; nix develop"
''; '';
ssh = sh ''
ip="$(nix eval --raw ".#nixosConfigurations.\"$1\".config.sconfig.morph.deployment.targetHost")"
shift
exec ssh -F"${sshConfig}" "$ip" "$@"
'';
}; };
} }