Personal NixOS Infrastructure
March 2026 to Present • https://github.com/jb3/nix-infraIn March 2026, I migrated my personal infrastructure from a decade of Ansible-managed servers to a fully declarative NixOS environment. This project, nix-infra, serves as the single source of truth for everything I host.
Key features of the setup include:
- Nix Flakes for reproducible dependencies and outputs.
diskofor declarative disk partitioning and filesystem management.agenixfor secure, SSH-based secret management.- Knot DNS for high-performance authoritative DNS, with hashed serial number generation.
- Tor Onion Services with secure systemd namespace joining for Nginx integration.
The entire infrastructure is deployed using nixos-rebuild, allowing for atomic updates and easy rollbacks.
I’ve written a detailed blog post about this migration and the technical stack behind it, which you can find here.
Return home