feat(hydra-auto-upgrade): also diff boot

This commit is contained in:
Gabriel Fontes
2026-05-08 11:47:53 -03:00
parent 2671184185
commit 721cce722e
+6 -1
View File
@@ -36,8 +36,10 @@
if [ "$(readlink -f "$current")" == "$path" ]; then
echo "Already running $path" >&2
else
echo "Activating configuration" >&2
echo "Changes to apply now:"
nvd --color=always diff "$current" "$path"
echo "Activating configuration" >&2
"$path/bin/switch-to-configuration" test
fi
fi
@@ -51,6 +53,9 @@
echo "Adding to bootloader" >&2
"$path/bin/switch-to-configuration" boot
echo "Changes to apply after reboot:"
nvd --color=always diff "$current" "$profile"
fi
fi
'';