Is anyone else having problems upgrading to #NixOS 23.05?
The error I'm getting on rebuild: https://haste.benjaminhollon.com/oqacixigut
EDIT: I got it! :D
My best evaluation of what went wrong: there wasn't actually any issue with the built image, it's just that the systemd check failed because it was running from an older version? So I added a flag to force it to keep going anyway and when I rebooted, here I am in 23.05! XD
EDIT 2: This was wrong, read on in the thread.
@benjaminhollon I had to change the efi boot loader options in my config
Which options did you change? (thanks for the help) That does seem to be where my research is pointing to.
@benjaminhollon this is what i got for uefi.
```
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
#boot.loader.efi.efiSysMountPoint = "/boot/efi";
```
Very similar to what's in mine (for some reason I get a 403 error when trying to post the relevant config).
Was it commenting out that line that fixed it for you? I'll try that.
@benjaminhollon yes commenting out the last line fixed it
Hmm now I'm getting a different error.
File system "/boot" is not a FAT EFI System Partition (ESP) file system.
systemd-boot not installed in ESP.
No default/fallback boot loader installed in ESP.
@batvin3211
But I think this is on the right track…
@benjaminhollon ok, good. i thought this would be a simple fix, but it is almost 2:00 am where i am. so i am going to try to get some sleep
Ha, sleep well. It's 14:00 here, so I'll keep working on it a while. ;)
I got it! :D
My best evaluation of what went wrong: there wasn't actually any issue with the built image, it's just that the systemd check failed because it was running from an older version? So I added a flag to force it to keep going anyway and when I rebooted, here I am in 23.05! XD
Wait, I'm still getting errors trying to rebuild once I'm booted into the new version… I may just need to rollback to 22.11, report the bug, and see what happens.
@benjaminhollon i just remembered I was running nixos unstable and switched to 23.05. But I pinned some of my apps to unstable to be on the bleeding edge.
I had the boot problem with a clean install on my spare laptop when I applied my config.
I would report that bug, I thought I could help
Yeah, I'm planning to ask around on the NixOS matrix channel when I have some time. Hopefully they'll end up knowing the root of the issue.
Yeah, removing the option makes it default to /boot, but the partition is mounted at /boot/efi. :P