I came across this article when wondering how to integrate the “building” aspect of nix (that is, not just a devshell) with static websites or other projects that involve some output that is not an executable.

This article also talks about adding inputs from GitHub that aren’t necessarily flakes. I’ve used this myself to pull some example configurations for certain programs that I haven’t felt like tinkering with myself yet.