config/users/pbsds/home/profiles/update-diff.nix

11 lines
304 B
Nix
Raw Permalink Normal View History

2023-07-19 21:59:13 +02:00
{ config, pkgs, ... }:
{
# nvd: https://discourse.nixos.org/t/nvd-simple-nix-nixos-version-diff-tool/12397
# module from https://infosec.exchange/@wyndon/110662698348958506
home.activation.diff-update = config.lib.dag.entryAnywhere ''
${pkgs.nvd}/bin/nvd diff $oldGenPath $newGenPath
'';
}