You can just do things -_-
This week I decided to create lovely URLs for all the lovely new media services I set up last month. After quickly adding Caddy to my home server Nix config (it’s a Raspberry Pi 3 under the TV), I started my iterative process to actually make this shit work. I fucked around waaaaay too long trying to get plugins working, and after hitting the rate limit from the CA authority I was using (apologies, I have now found out about the staging environment), I finally managed to get something somewhat working when the Pi locked up mid-config change and proceeded to nuke its ethernet port. A reflash briefly brought the Ethernet back to life, but further configuration quickly broke it again.
Dejected but not defeated. I remembered the old laptop I’ve got kicking about somewhere and a vague and distant commitment to learn the ins and outs of Proxmox one day. So I did; it was surprisingly simple to set up until I decided to intuitively explore the interface while trying to create a fresh and shiny Nix VM. I got to the login prompt and could not find a set of credentials that would grant me access,after a bunch of head scratching and a bunch of blog reading and github issue thread deciphering,it turns out the web interface is just not recommended by any of the kind and thoughtful people who decided to blog about their experience accomplishing similar tasks with Caddy on NixOS. I managed to get an LXC container up and working, pushed the config across, and it pretty much just worked. Only lost my Grafana config; not looking forward to redoing the dashboard, but it’ll be a good refresher on the process.