When building a container image with nginx, the package contents are placed in the root filesystem, with folders like /conf and /html, which is rather unconventional, and can quickly become messy as more packages are added.
IIUC, the suggestion is to manually move these folders to where is more conventional, but that obviously adds a lot of work.
Using nix profile add, I would the same would happen, but in the nix profile directory. Which would look nicer at first glance, but merely hides the mess.
What alternatives do I have?
For example, instead of using buildEnv, perhaps using cp into /packages/nginx/ ?