@jtojnar I’m not sure what FOD stands for, but I see what that code does.
@lilyball I’m not familiar with overlays yet. What I’ll do is open a new topic now that the original question in this one is covered. EDIT: The new topic is at How to use a nix derivation from a local folder?.
Thank you both for taking the time to explain!