I recently moved the contents of my home partition to the home folder on the boot partition, and I’m wondering if that’s why my installation is misbehaving.
I ran:
nix-env --delete-generations old
nix-collect-garbage -d
and old generations and folders still persist! It says that it deleted a whole lot, but apparently not the stuff I was hoping it would delete!
I’m trying to reclaim lastpass-cli which seems to have gotten mixed up by my partition recreation. lol
Do I need to do a fresh install? Is there other information I can offer which can help you help me? I’d be so grateful for any direction!
judging by the erratic behavior of lastpass-cli, I’m lead to believe that the credentials in this remaining installation are what are causing the issues I’m experiencing. Is there no way to reinstall it with fresh credentials?
thanks so much for the reply! as I stated above, I re-ran those commands with sudo and affected the system profile. the output to that command gives: 224 2023-10-31 10:20:09 (current)
Maybe I should make a new help post for my lastpass-cli issue…
/root/result is a regular symlink, not one from your system profile. Normally, links to system generations in your system profile would show up in nix-store --query --roots like this:
It looks like you might have built the system in the past with nix-build and forgot to remove that link. If you’re not using /root/result for anything, just remove it. After that there will be no roots left for lastpass-cli and you can delete it.
funny stuff. I got rid of that symlink, which didn’t help me get back into lastpass-cli…
so after a little more futzing, I reinstalled my system yesterday…
and now everything is exactly back to how it was (thanks nixos)…
including the same errors from lastpass-cli…
which indicate that I’m one version behind on lastpass-cli. and that has actually been the issue this whole time. hooray comedy! now I just have to figure out how to pin the newer version!