update deploy.sh

This commit is contained in:
2024-08-04 12:48:34 +05:30
parent e87bc1114c
commit 4ab5a20b80

View File

@ -12,5 +12,5 @@ if [ -z "$hosts" ]; then
fi
for host in ${hosts//,/ }; do
nixos-rebuild --flake .\#$host switch --target-host $host --use-remote-sudo --use-substitutes $@
nixos-rebuild --flake .\#$host switch --build-host $(hostname) --target-host $host --use-remote-sudo --log-format internal-json -v |& nom --json $@
done