diff --git a/home/common.nix b/home/common.nix index 31d5887..46cf0cf 100644 --- a/home/common.nix +++ b/home/common.nix @@ -146,4 +146,10 @@ home.sessionVariables = { EDITOR = "nvim"; }; + + home.activation.reportChanges = config.lib.dag.entryAnywhere '' + if [[ -v oldGenPath ]]; then + run nix store diff-closures $oldGenPath $newGenPath + fi + ''; }