mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 14:43:39 +00:00
9 lines
213 B
Nix
9 lines
213 B
Nix
{ pkgs, ... }: {
|
|
system.activationScripts.diff = {
|
|
supportsDryActivation = true;
|
|
text = ''
|
|
${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff /run/current-system "$systemConfig"
|
|
'';
|
|
};
|
|
}
|