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 #+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 **** gnome-keyring
@ -6508,6 +6522,7 @@ Programming languages and default lsp's are defined here: [[#h:0e7e8bea-ec58-499
util-linux util-linux
nmap nmap
lsof lsof
nvd
# nix # nix
alejandra alejandra

View file

@ -6,7 +6,7 @@
# audio stuff # audio stuff
spek # spectrum analyzer spek # spectrum analyzer
losslessaudiochecker losslessaudiochecker
ffmpeg_5-full ffmpeg_7-full
flac flac
mediainfo mediainfo
picard-tools picard-tools
@ -25,6 +25,7 @@
util-linux util-linux
nmap nmap
lsof lsof
nvd
# nix # nix
alejandra alejandra
@ -48,7 +49,7 @@
xournalpp xournalpp
obsidian obsidian
spotify spotify
discord vesktop # discord client
stable.nextcloud-client stable.nextcloud-client
spotify-player spotify-player
element-desktop-wayland element-desktop-wayland
@ -159,6 +160,7 @@
waybarupdate waybarupdate
opacitytoggle opacitytoggle
fs-diff fs-diff
update-checker
(pkgs.writeScriptBin "project" '' (pkgs.writeScriptBin "project" ''
#! ${pkgs.bash}/bin/bash #! ${pkgs.bash}/bin/bash

View file

@ -0,0 +1,10 @@
{ pkgs, ... }:
{
system.activationScripts.diff = {
supportsDryActivation = true;
text = ''
${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff \
/run/current-system "$systemConfig"
'';
};
}