From 48d5fd590c3da5b2a11bcbffb37657bc00b75ebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Sun, 9 Jul 2023 18:20:58 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20(neodymium)=20add=20nvd=20activatio?= =?UTF-8?q?n=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/neodymium/system/nix/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/neodymium/system/nix/default.nix b/hosts/neodymium/system/nix/default.nix index fd909bb..777b011 100644 --- a/hosts/neodymium/system/nix/default.nix +++ b/hosts/neodymium/system/nix/default.nix @@ -30,4 +30,9 @@ "vscode-extension-github-copilot-chat" "vscode-extension-ms-vsliveshare-vsliveshare" ]; + + system.activationScripts.nvd-report-changes = '' + PATH=$PATH:${lib.makeBinPath [ pkgs.nvd pkgs.nix ]} + nvd diff $(ls -dv /nix/var/nix/profiles/system-*-link | tail -2) + ''; }