Closed crawfordlong closed 3 months ago
Found an answer: I was trying to rebuild on 23.11 (for consistency with my existing flake setup) and ran into this issue. "Solved" it by just going with unstable for now.
@crawfordlong as you've found a solution, could this issue be closed?
My apologies. Of course.
I have a working nixos install using the excellent instructions here. I can edit
/etc/nixos/configuration.nix
and rebuild (and switch) with no issues at all. Attempting to transition over to my flake setup for my other machines, I am encountering the error below, which only happens when I usesudo nixos-rebuild switch --flake $MYFLAKE
and not when I use nixos-rebuild build. I have also never encountered anything remotely like this on my other nixos machines.I can't see anything in the old non-flake configuration.nix or the new machine-specific configuration.nix in my setup that would cause this, in particular nothing different in the boot setup. Thoughts?
The only systemd-boot issue I've had, btw, has been some odd gibberish at the bottom of my boot menu, below my nixos generations. I haven't been able to troubleshoot this yet, but it hasn't caused an issue rebuilding and switching in the non-flake environment.