On NixOS, is there any way to query for outdated system packages?
I know I can query this with nix-env
for user-installed packages but I can't seem to find a way to know beforehand what will be updated when I run a nixos-rebuild switch --upgrade
.
I'm thinking about using NixOS for deployment of a couple of servers in production but then I definitely need to be able to know what an upgrade will install before I actually execute it.