1
0
Fork 0

chore: add niv to updates

Signed-off-by: jolheiser <john.olheiser@gmail.com>
main
jolheiser 2023-07-06 11:07:17 -05:00
parent 101d4e2c16
commit 896eb3f99d
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
2 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ pkgs, ... }: { { pkgs, config, ... }: {
imports = [ imports = [
./bat.nix ./bat.nix
./bottom.nix ./bottom.nix
@ -47,6 +47,9 @@
# Personal NUR # Personal NUR
nur.repos.jolheiser.tmpl nur.repos.jolheiser.tmpl
]; ];
activation.report-changes = config.lib.dag.entryAnywhere ''
${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff $oldGenPath $newGenPath
'';
stateVersion = "22.11"; stateVersion = "22.11";
}; };

View File

@ -52,6 +52,13 @@
}; };
}; };
system.activationScripts.diff = {
supportsDryActivation = true;
text = ''
${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff /run/current-system "$systemConfig"
'';
};
environment = { environment = {
systemPackages = with pkgs; [ podman podman-compose podman-tui ]; systemPackages = with pkgs; [ podman podman-compose podman-tui ];
}; };