1
1
Fork 1
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:
oddlama 2024-02-26 14:57:53 +01:00
parent 2270b10b33
commit 124e1c289f
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -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 " Applied  $host in ''${T_LAST}s"