From db415265d5c021f23cbc6e31142372ec25649082 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Mon, 15 Nov 2021 12:04:48 -0500 Subject: [PATCH] morph: tweak eval --- lib/morph.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/morph.nix b/lib/morph.nix index 6862bd6..812cd49 100644 --- a/lib/morph.nix +++ b/lib/morph.nix @@ -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" "$@" '';