List and delete NixOS generations

Maybe something like this:

diff <(ls -l /run/current-system/ | sort) <(ls -l /run/booted-system/ | sort)