mochi/nixos/profiles/global/system.nix

14 lines
361 B
Nix
Raw Normal View History

2024-06-20 08:59:56 -05:00
{ lib, pkgs, ... }:
{
system = {
# Enable printing changes on nix build etc with nvd
activationScripts.report-changes = ''
PATH=$PATH:${lib.makeBinPath [ pkgs.nvd pkgs.nix ]}
nvd diff $(ls -dv /nix/var/nix/profiles/system-*-link | tail -2)
'';
# Do not change unless you know what you are doing
stateVersion = "24.11";
};
}