mirror of
https://github.com/ryanccn/flake.git
synced 2026-01-27 04:06:28 +01:00
8 lines
231 B
Nix
8 lines
231 B
Nix
{pkgs}: {
|
|
system.activationScripts.extraActivation = {
|
|
text = ''
|
|
set -eo pipefail
|
|
HOME="/var/root" ${pkgs.lib.getExe pkgs.nvd} --nix-bin-dir=${pkgs.nix}/bin diff /run/current-system "$systemConfig"
|
|
'';
|
|
};
|
|
}
|