mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 14:43:39 +00:00
Flatten dir structure
This commit is contained in:
8
upgrade-diff.nix
Normal file
8
upgrade-diff.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{pkgs, ...}: {
|
||||
system.activationScripts.diff = {
|
||||
supportsDryActivation = true;
|
||||
text = ''
|
||||
${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff /run/current-system "$systemConfig"
|
||||
'';
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user