Nixiel: NixOS to Scale

The whole stack by model composition - efficient and economical

The smiling figure Nixiel watches over a network of NixOS servers whose configuration is modelled using nix and managed using angelbox. The ability to compose and decompose a nix configuration allows the installation to easily scale both up or down.

Like the poleaxe, opinionated infrastructure cuts both ways - behold Nixiel Speaks:

Halt – yaml-lovers shall not pass! Ye brittle-scroll’d apprentices! Thou canst neither compose thy works nor cleave them clean apart, but must needs copy and paste thy wretched lines like a monk with palsied hands. One stray space unmakes thy whole creation – get thee gone, thou indent-crazed simpleton! Get thee gone, go clean up thy drift!

He doesn’t seem accepting of yaml. If you are, perhaps this isn’t for you!

Dedicated for Small Businesses

The main advantage of dedicated servers is that the cost of data storage is reasonable when compared to shared servers. Any small business can be served very well by four dedicated hosts spanning a wide range of capacity.

  1. Extra-net - Front facing services (websites, client-services)
  2. Intra-net - Internal services (nextcloud, forgego, postgresql)
  3. Safety-net - Offsite backup host
  4. Test-net - Prototypical services e.g.
    • podman - Single node container cluster
    • podclaws - Multi-tenant agentic AI harness
Hetzner Lowball Highball
Intel®/AMD 4 cores 32 cores
DDR4 RAM 8 GB 256 GB
NVMe. 80 GB 2x 7.68 TB
HDD 14x 22 TB
€/month € 9 € 900.

Scaling Up: the same architecture has been scaled to span 100s of hosts. The limits are found in the capacity of the management tools to display and provide adequate observation of the stack so as to keep the system manageable.

Scaling Down: all 4 of these use-cases could be composed into a single server - the famed “Nix Multi-Monolith Machine“ 1.

Dedicated for Internal Teams

Pioneering teams can select, develop and run their own tools. Since the configuration is guarenteed to be reproducible, they are in fact prototyping a production ready configuration that can be handed over to an operations team for review and deployment.

Footnotes

  1. Nix Multi-Monolith Machine ↩