2023-05-14 19:24:51 +00:00
|
|
|
{ config, ... }:
|
2023-05-14 19:24:19 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
system.activationScripts.show-update-changelog = ''
|
2023-05-14 19:24:51 +00:00
|
|
|
if [[ -e /run/current-system ]]; then
|
|
|
|
echo "[show-update-changelog] Changelog"
|
|
|
|
${config.nix.package}/bin/nix store diff-closures /run/current-system "$systemConfig" || true
|
|
|
|
fi
|
2023-05-14 19:24:19 +00:00
|
|
|
'';
|
|
|
|
}
|