Remove duplicates in the nix store

You might find one of the tools to summarise and group the output in this thread useful: Show closure size of garbage collector roots - #9 by uep

It helps show which roots are keeping what alive in the store