mochi/nixos/profiles/global/system.nix

14 lines
383 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 ]}
2024-08-16 21:50:57 -05:00
nvd diff $(${pkgs.coreutils}/bin/ls -dv /nix/var/nix/profiles/system-*-link | tail -2)
2024-06-20 08:59:56 -05:00
'';
# Do not change unless you know what you are doing
2024-07-03 17:45:35 -05:00
stateVersion = "24.05";
2024-06-20 08:59:56 -05:00
};
}