diff --git a/lib/deploy.nix b/lib/deploy.nix index e9f0b69..a490a73 100644 --- a/lib/deploy.nix +++ b/lib/deploy.nix @@ -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" ''