2021-04-17 16:12:20 +00:00
|
|
|
{
|
2022-03-08 01:42:46 +00:00
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
2022-03-08 02:19:09 +00:00
|
|
|
inherit (config.lib) dag;
|
2022-03-08 01:42:46 +00:00
|
|
|
in {
|
2021-07-04 21:17:16 +00:00
|
|
|
home.activation.report-changes = dag.entryAnywhere ''
|
2021-07-04 21:56:46 +00:00
|
|
|
if [[ -n "$oldGenPath" && "$oldGenPath" != "$newGenPath" ]]; then
|
|
|
|
${pkgs.nvd}/bin/nvd diff $oldGenPath $newGenPath
|
|
|
|
fi
|
2021-07-04 21:17:16 +00:00
|
|
|
'';
|
2021-04-17 16:12:20 +00:00
|
|
|
}
|