feat: add nvd diff checker

This commit is contained in:
Swarsel 2024-08-10 16:48:41 +02:00
parent 2da6d3182d
commit ec004d7859
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
3 changed files with 29 additions and 2 deletions

View file

@ -6205,6 +6205,20 @@ This section houses the greetd related settings. I do not really want to use a d
}
#+end_src
**** Summary of nixos-rebuild diff
#+begin_src nix :tangle profiles/common/nixos/nvd-rebuild.nix
{ pkgs, ... }:
{
system.activationScripts.diff = {
supportsDryActivation = true;
text = ''
${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff \
/run/current-system "$systemConfig"
'';
};
}
#+end_src
**** gnome-keyring
@ -6508,6 +6522,7 @@ Programming languages and default lsp's are defined here: [[#h:0e7e8bea-ec58-499
util-linux
nmap
lsof
nvd
# nix
alejandra