For what it is worth there is another thread that describes something similar (NixOS defaults to booting older generation? - #4 by Mapybara) but the suggestion is to run nixos-rebuilt boot. But I tried this and it does not seem to fix the issue.
For what it is worth there is another thread that describes something similar (NixOS defaults to booting older generation? - #4 by Mapybara) but the suggestion is to run nixos-rebuilt boot. But I tried this and it does not seem to fix the issue.