I’m trying to create an Nginx configuration that templates an
index.html using Nix and then put it along with some other files like CSS files into a folder and set it’s location to
root in Nginx
I know I can create a file by using one of the trivial builders like
writeText to create a single file, or
writeTextDir to create a single file in a folder. But how do I do multiple files in a folder, out of which one is generated by a function, and others might just be static files I want to add?
I’ve been doing a bunch of googling and I can’t find the right way to query for this.