misusing nix as an html templating language, yay!
We could (and maybe should) also use something more reasonable instead,
e.g. jekyll or hakyll, but for a simple listing nix turns out to be
quite enough.
The page doesn't look all too well for now; I haven't set any css, or
even added some <div>-tags for basic styling.
tbh, I'm not entirely sure about these — if we have single-letter
domains only, we'll run into trouble pretty quickly (e.g. with
mattermost/mumble). I've kept it limited to only *.infra4future.de,
where that is less of a problem (for now).
as per Zauberberg's idea in mattermost last night [1], this adds an
extra domain, which just exists to make links to the various services
shorter, using a nix to keep the whole thing easily changable.
In particular, the "shortdomain" binding should be set to some domain we
actually own before anyone deploys this (I've set it to "i4f.de" as a
dummy value for now).
Potential caveats:
- this uses ACME to get a certificate for each of the redirect domains,
which may run into rate limits if we have too many of them.
- there's nothing on the shortdomain itself. I suggest we could either
use it as a general linkshortener, or generate a list of available
domain shortcuts into html from nix
[1] https://mattermost.infra4future.de/hacc/pl/xks5naezcbn8myh79bq3dehmso