forgot file
This commit is contained in:
parent
3494489f60
commit
cf16f3e9b0
1 changed files with 8 additions and 0 deletions
8
hosts/pi-server/upgrade-diff.nix
Normal file
8
hosts/pi-server/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"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue