That said, I’m not an expert and would love to know the best path toward using it on Nix. Is the answer ultimately a flake with options for its configuration? Presently, only Void Linux and Debian users are using this.
Oh yeah, you’re totally right. It’s probably a tool used by non-systemd platforms. It’s a real shame since the bpool with special grub compatibility is not ideal and will become even worse when zpool create <full disk> gets a flag to create an EFI partition as well, since the optimizations will not be available to anyone using boot environments.
Well dracut is just a tool for creating initrd. It doesn’t care if your OS uses systemd or not, and even has available hooks to use systemd in initrd.
I tried to get dracut working for nixos before, and honestly it’s just a pain because of all the FHS hard coded paths, plus it’s a horrible amalgamation of bash bits that’s just really annoying to work with.