FWIW, the link posted here is just to the Haskell part. This is the fully-inlined NixOps file: https://github.com/Gabriel439/simple-twitter/blob/master/sim... (which is no less impressive -- fewer than 500 lines in a single file to specify a full web app!)