mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
deploy: fix quoting
This commit is contained in:
parent
b2c86c2919
commit
f71b84df07
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ let
|
|||
export SSH_CONFIG_FILE=${sshConfig}
|
||||
c="${pkgs.colmena}/bin/colmena"
|
||||
j="$($c eval -E '{nodes,...}: builtins.mapAttrs (n: v: v.config.system.build.toplevel) nodes')"
|
||||
$c exec -- '[ "$(echo '"'$j'"' | jq -r .$(hostname))" = "$(readlink /run/current-system)" ]'
|
||||
$c exec -- '[ "$(echo '"'$j'"' | jq -r .\"$(hostname)\")" = "$(readlink /run/current-system)" ]'
|
||||
'';
|
||||
|
||||
check-reboots = pkgs.writeShellScript "check-reboots" ''
|
||||
|
|
Loading…
Reference in a new issue