mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
morph: tweak eval
This commit is contained in:
parent
a414d5e340
commit
db415265d5
1 changed files with 1 additions and 1 deletions
|
@ -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" "$@"
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue