mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
fix: don't hardcode nvd
This commit is contained in:
parent
2270b10b33
commit
124e1c289f
1 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
|||
{
|
||||
writeShellApplication,
|
||||
bc,
|
||||
lib,
|
||||
nvd,
|
||||
writeShellApplication,
|
||||
}: let
|
||||
deploy = writeShellApplication {
|
||||
name = "deploy";
|
||||
|
@ -107,7 +109,7 @@
|
|||
ssh "$host" -- "$store_path"/bin/switch-to-configuration "$ACTION" \
|
||||
|| echo "Error while activating new system" >&2
|
||||
if [[ -n "$prev_system" ]]; then
|
||||
ssh "$host" -- nvd --color always diff "$prev_system" "$store_path" || true
|
||||
ssh "$host" -- ${lib.getExe nvd} --color always diff "$prev_system" "$store_path" || true
|
||||
fi
|
||||
time_next
|
||||
echo "[1;32m Applied [m✅ [34m$host[m [90min ''${T_LAST}s[m"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue