mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 10:33:39 +00:00
10 lines
213 B
Nix
10 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"
|
|
'';
|
|
};
|
|
}
|