1
0
Fork 0
dotfiles/system/shared/show-update-changelog.nix
2023-05-14 21:24:19 +02:00

7 lines
215 B
Nix

{ pkgs, config, ... }:
{
system.activationScripts.show-update-changelog = ''
${pkgs.nvd}/bin/nvd --nix-bin-dir='${config.nix.package}/bin' diff $(ls -d /nix/var/nix/profiles/system-*-link | tail -n2)
'';
}