NixOS-Configs/hosts/pi-server/upgrade-diff.nix
2025-12-30 00:28:00 -06:00

8 lines
233 B
Nix

{ pkgs, ... }: {
stdenv.hostPlatform.system.activationScripts.diff = {
supportsDryActivation = true;
text = ''
${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff /run/current-system "$systemConfig"
'';
};
}