I have around 10 generations wort of home-manager data lying around on my system and I have no idea how to get rid of it.
I have deleted all old home manager and system generations, ran
nix-collect-garbage -d several times and ran
rm /nix/var/nix/gcroots/auto/* and so on.
I tried following one of the seemingly duplicate packages all the way down using
nix-store --query --referrers and while one of them is being used by my current home manager generation, the other one is not.
But how come that it is not being garbage collected?
I could just remove it manually, but I do not want to do that for several hundred packages.
This is what my storage looks like. Several packages are even duplicated more that two times.