morph: tweak eval

This commit is contained in:
Sean Buckley 2021-11-15 12:04:48 -05:00
parent a414d5e340
commit db415265d5

View file

@ -106,7 +106,7 @@
'';
ssh = sh ''
ip="$(nix eval --raw --file ./. "nixosConfigurations.\"$1\".config.sconfig.morph.deployment.targetHost")"
ip="$(nix eval --raw ".#nixosConfigurations.\"$1\".config.sconfig.morph.deployment.targetHost")"
shift
exec ssh -F"${sshConfig}" "$ip" "$@"
'';