1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

fix(deploy): add colors to nvd

This commit is contained in:
oddlama 2023-10-15 14:14:51 +02:00
parent 1f9a28c3db
commit 93b5a41f10
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -105,7 +105,7 @@
ssh "$host" -- /run/current-system/sw/bin/nix-env --profile /nix/var/nix/profiles/system --set "$store_path" ssh "$host" -- /run/current-system/sw/bin/nix-env --profile /nix/var/nix/profiles/system --set "$store_path"
ssh "$host" -- "$store_path"/bin/switch-to-configuration "$ACTION" ssh "$host" -- "$store_path"/bin/switch-to-configuration "$ACTION"
if [[ -n "$prev_system" ]]; then if [[ -n "$prev_system" ]]; then
ssh "$host" -- nvd diff "$prev_system" "$store_path" ssh "$host" -- nvd --color always diff "$prev_system" "$store_path"
fi fi
time_next time_next
echo " Applied  $host in ''${T_LAST}s" echo " Applied  $host in ''${T_LAST}s"