Closed ofalvai closed 1 week ago
Seems like something like this works:
system.activationScripts.postActivation.text = ''
if [ -e '/run/current-system' ]
then
${pkgs.nvd}/bin/nvd diff "/run/current-system" "$(readlink -f "$systemConfig")"
fi
'';
Nice, this seems to be working. Thank you!
With home-manager and
nvd
, I can do something like this:Is it possible to do something similar using
system.activationScripts.postActivation
? More specifically, is there a way to accessoldGenPath
andnewGenPath
?