1
0
Fork 0
dotfiles/system/shared/show-update-changelog.nix

8 lines
215 B
Nix
Raw Normal View History

2023-05-14 19:24:19 +00:00
{ 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)
'';
}