Specifically:
sudo nix-store --repair --verify --check-contents
If that doesn’t work, boot live iso, mount everything relative to /mnt, empty out /mnt/nix, reinstall.
Specifically:
sudo nix-store --repair --verify --check-contents
If that doesn’t work, boot live iso, mount everything relative to /mnt, empty out /mnt/nix, reinstall.