Add upgrade-diff script.

This commit is contained in:
jay committed 2025-06-29 07:09:49 -04:00
1 parent f05b8143b9
commit 4684be0d80
2 files changed
+10

No files matched your search

@@ -0,0 +1,9 @@
{ lib, pkgs, ... }: {
system.activationScripts.postUserActivation = {
text = ''
${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff /run/current-system "$systemConfig"
'';
} // lib.optionalAttrs pkgs.stdenv.isLinux {
supportsDryActivation = true;
};
}