15 lines
279 B
Nix
15 lines
279 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; let
|
|
inherit (config.lib) dag;
|
|
in {
|
|
home.activation.report-changes = dag.entryAnywhere ''
|
|
if [[ -n "$oldGenPath" && "$oldGenPath" != "$newGenPath" ]]; then
|
|
${pkgs.nvd}/bin/nvd diff $oldGenPath $newGenPath
|
|
fi
|
|
'';
|
|
}
|