11 lines
313 B
Nix
11 lines
313 B
Nix
|
|
{ inputs, pkgs, ... }: {
|
||
|
|
# Let Home Manager install and manage itself.
|
||
|
|
programs.home-manager.enable = true;
|
||
|
|
|
||
|
|
# Show activation change diff for new builds.
|
||
|
|
home.activation.report-changes =
|
||
|
|
inputs.home-manager.lib.hm.dag.entryAnywhere ''
|
||
|
|
${pkgs.nvd}/bin/nvd diff $oldGenPath $newGenPath
|
||
|
|
'';
|
||
|
|
}
|