FORTS!
Your whole platform, declared in git.
Forts joins immutable NixOS hosts and Flux-driven Kubernetes into estates: git repos that declare your machines, networks, secrets and workloads. Everything continuously updates, so you can stay focused on Dev instead of Ops.
$ fort image gold-fort
$ fort provision gold-fort
It's "just NixOS and Kubernetes" from here.
- Host
- NixOS
- Workloads
- FluxCD
- Mesh
- WireGuard
- Secrets
- sops
A tiny cloud surface
Outside of git, all a fort needs is some compute, a disk, and a network endpoint. Everything else can be declared in the estate - avoiding vendor lock in for managed services.
One mesh, any provider*
Forts in an estate can span across local infra, cloud providers, and geographic regions thanks to a pre-configured WireGuard mesh. No extra network to design.
Recovery, not repairs
Save the triage until morning with automatic rollbacks. The estate's entire configuration history is preserved in git for investigations, which become stress-free when the service is back up.
What is a fort
A fort is a NixOS machine hosting Kubernetes. Both are continually reconciled against whatever's committed in git.
A fort's config produces a bootable disk image, and the fort cli uses pulumi to deploy it on a machine provider.
- Apps Your containers, running in pods flux/apps/<fort>/
- Flux The GitOps controller flux/clusters/<fort>/
- k3s A single-binary Kubernetes a NixOS service
- NixOS The host operating system nixos/hosts/<fort>/
- VM or hardware *libvirt, Linode, bare metal instance · disk · firewall · DNS
A fort lives up to its name
Every fort starts with a locked-down posture, but they're yours to customize.
outpost
sshd · wg0 only
LAN / internet · no SSH
- Your laptop
- A mesh member: ssh outpost
- Anyone else
- No "door" to knock on.
- Out of band
- The provider's console
virsh console, etc
No public front door
By default a fort exposes only its WireGuard port. SSH listens on the mesh and nowhere else.
ssh <fort>.<estate>.mesh
A non-root operator
A fort has one user, ops, and there is no everyday path from them to root.
(bring your own user & home management, a fort is "just NixOS", after all)
Every change goes through git
Tailor your change management process with well established repository access controls.
PR → merge → reconcile
Take control
Stop the machinery and get hands on. Enabling root escalations is a true/false toggle.
sfi.ops.admin.enable = true
What is an estate
A git repo that declares your forts and the mesh between them: a pre-configured hybrid cloud, in a folder.
- your-estate/
- ├─ estate.toml
- name · git url · mesh
- ├─ forts/
- one file per fort
- │ ├─ gold-fort.toml
- │ ├─ blue-fort.toml
- │ └─ green-fort.toml
- ├─ nixos/hosts/<fort>/
- the machine
- ├─ flux/apps/<fort>/
- the workloads
- └─ mesh/peers.json
- who is on the mesh
- Merged at
- 23:36:42
- First fort reconciling
- +27 s
- Every fort updated
- +4 min 37 s
December 3rd 2026: the NixOS unstable → 26.11 cutover across my estate.
Model any topology you want
The mesh allows forts in an estate to communicate privately. Estates can be declaratively Linked, providing a flexible toolkit for architecting software systems and their environments.
- stg-main apps follow main
- stg-dev changed ad hoc
- production-west apps follow main
- production-east apps follow main
Link Estates with a 2-Step Handshake
- 1 · Declare
fort link add <fort> <other-estate>"I want forts in the other estate to access my fort"
PR → merge → reconcile
- 2 · Confirm
fort estate link <declaring-estate>"They merged. Reciprocate the config on our side"
PR → merge → reconcile
- Access follows peers.json
Sever the link at a moment's notice by removing the config. Your forts' wireguard config will be updated automatically after merging.
Enter: declarative zen
It's just NixOS and Kubernetes
Forts bootstraps the estate, then gets out of the way. Every host is a NixOS generation built from the repo. Every cluster is Flux applying the same commit. From there you run them however you already do. Layers are our take on how, not a requirement.
Same commit, both layers, reconciled continuously.
- Host layer
NixOS
Pull the ref → build the whole host → switch to the new generation.
nixos-rebuild · your modules · nixpkgs
- Workload layer
FluxCD
Fetch the ref → render manifests → apply them to Kubernetes.
kubectl · helm · any operator
Core is the platform. Layers add the rest.
Forts core provides everything you need to get an environment moving. But we avoided the whole "batteries included" scope creep.
We run our in-house services on forts, and are packaging up the supporting infrastructure as layers. Get eyes-on with our observability stack, and if you like what you see, support us to get access to a full suite of infrastructure capabilities.
- scaffold
- mint
- check
- dismantle
Forts core
The estate bootstrap and configuration management
A NixOS flake: the strong baseline host config
k3s + Flux: a minimum viable platform
Monitoring layer
Edge observability on every fort, plus a hub
SFI Premium
Support the craft- s3 Object storage
- cache Redis-compatible
- ca Private certificates
- dns Names on the mesh
- An arsenal of infrastructure capabilities for your software services.
- Access to the knowledge base: docs and context for getting things done.
- SFI Swag Freebies and Merch Drops.
It's dangerous to go alone. Take this.
~An old man in a cave, 1986
NixOS, Kubernetes, Flux, WireGuard, and sops are all each a rabbit hole in their own right. Nobody could be expected to know all of them before they start, and you don't have to either.
Forts does one small part of the lifecycle, the rest is documented to death, and you can grok it. Learn stuff by building stuff.
The whole estate is context
Every detail is declared in a repo of open-source building blocks. A coding agent reads the system, spots the misconfiguration, and makes the multi-file edit you'd fumble by hand.
git clone <estate> · ask it anything
Deterministic checks every step of the way
Every change is a PR. CI builds the manifests and evaluates the host with no key in hand, so the wrong thing fails a check instead of a fort.
fort check <fort> --eval
Boilerplate is rendered, not typed
Two short TOML files hold the facts that differ: names, addresses, shapes. The verbs render the NixOS and Flux trees around them and stage the diff for you to commit.
scaffold · mint · add · seed
Documented to death
Nothing here is proprietary. Each building block has a decade of docs, answers and examples online, and any sentence on this page is a working search.
git · nixos · k8s · helm · flux · sops
The ops experience behind Forts, on your premises.
Forts packages what I learned building bare-metal Kubernetes at Microsoft Azure and observability at AT&T. SFI runs its own products on it every day. I take on a small number of engagements a year to help teams adopt the same way of working.
- → Estate design and multi-estate topology
- → Migrating existing hosts and clusters into forts
- → Recovery drills, monitoring and day-two operations
Get in touch
Consulting bookings are closed over the holidays and reopen in January 2027. Until then, Forts is on GitHub: issues and discussions are the quickest way to reach me.
Forts on GitHub