mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 13:23:11 +01:00
8 lines
216 B
Nix
8 lines
216 B
Nix
{ lib, pkgs, ... }:
|
|
{
|
|
system.activationScripts.report-nixos-changes = ''
|
|
PATH=$PATH:${lib.makeBinPath [ pkgs.nvd pkgs.nix ]}
|
|
nvd diff $(ls -dv /nix/var/nix/profiles/system-*-link | tail -2) || true
|
|
'';
|
|
}
|