I have two partitions, /efi and /boot. I used the “boot.loader.efi.efiSysMountPoint = “/efi”” option at installation, everything works fine, and my hardware-configuration.nix file looks very good.
But I don’t have the expected result, my /boot partition contains only empty folders (EFI, machine-id, loader…), without my kernels, initrd and entries… Which are in my /efi partition… (and having several operating systems on my machine, I wish to have all my kernels/initrd on my XBOOTLDR partition, sorted neatly by machine-id folder).
I did not find a reference to the XBOOTLDR partition in the documentation / manual. Are there people in the same situation as me? Is there an option to configure this properly?
I think it would be a nice win to get it in. If you are a first-time NixOS user, on a modern laptop, looking to try a dual-boot, you are almost surely to run into this. And without the PR, it’s a really sticky spot to be in. Most users, especially new users, are not equipped to make a trailer ESP partition and Windows makes some of it trickier than it needs to be.
I think at this point it needs attention from likely busy maintainers/owners.
Thank you for the lightning fast response!
I was actually just reading that very PR.
Since I’m new to NixOS I’m unsure how I should incorporate the changes from that PR into the installation process.
I’m trying to dual boot MacOS and NixOS.
Any pointers to get started would be highly appreciated.
I’m happy to share my partition layout and the relevant bits from /etc/nixos/*.nix if this helps.
So I am wondering if it would work.
Anyways, how do I migrate from existing nix-boot partition setup to xbootldr? My primary windows EFI is at top of the file system. While nix boot partition is at the very bottom.
Since it’s merged into nixpkgs-unstable I think we can directly use it.