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