Hosting Gemini on NixOS
NixOS has a module for configuring the Molly Brown server in nixos-unstable (the nixos-unstable sometime before nixos-20.09).
The Nix configuration for serving this gemlog is roughly as follows:
And the flake.nix is something like this:
The trick to getting TLS to work is to instantiate an nginx server that letsencrypt can hit and reuse that certificate.