the awful.systems server cluster runs on an open infrastructure based on NixOS and Nix flakes, and though it desperately needs cleanup in some places, it’s still a pretty good example of how to use a Nix flake to deploy NixOS in production. feel free to browse the repo and ask any questions about how it works, or about Nix in general!

also, if I get hit by a bus, this can be used to redeploy awful.systems elsewhere. an existing admin who isn’t in the hospital or the grave can import a database backup and get back up and running!

and as always, contributions are welcome.

  • @selfOPMA
    link
    48 months ago

    no problem at all! here are a couple of the resources I mentioned by the way:

    • Zero to Nix is a good overall guide
    • nix.dev is a great cookbook-style resource that starts by explaining Nix as a programming language and expands on its concepts from there