How to remove old system generations?

There seem to be “result”-symlinks in strange places, linking to old generations.
Looks like they were left over from nixos-rebuild build-tests.

Didn’t expect that, so I guess NixOS 23.11 manual | Nix & NixOS should be improved to document this behavior there.

1 Like