print diff on activation
This commit is contained in:
parent
aa64b3b9fa
commit
7b47838e52
2 changed files with 6 additions and 0 deletions
|
@ -107,4 +107,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
system = { inherit stateVersion; };
|
system = { inherit stateVersion; };
|
||||||
|
system.activationScripts.diff = ''
|
||||||
|
${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff /run/current-system "$systemConfig"
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,4 +12,7 @@
|
||||||
enableNsncd = true;
|
enableNsncd = true;
|
||||||
};
|
};
|
||||||
system.stateVersion = "22.11";
|
system.stateVersion = "22.11";
|
||||||
|
system.activationScripts.diff = ''
|
||||||
|
${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff /run/current-system "$systemConfig"
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue