Sacred Geometry — Architecture Overview
The Forge is structured as a snowfall-lib NixOS flake, its three machine-shrines declared beneath systems/x86_64-linux/ and its bound daemons managed through composable sacred patterns.
Sacred Geometry — Flake Structure
Section titled “Sacred Geometry — Flake Structure”The repository uses snowfall-lib to orchestrate the Forge. Each machine-shrine is a system declared under systems/x86_64-linux/<name>/; each Sanctum (user environment) under homes/x86_64-linux/<user>@<machine>/.
Reusable sacred patterns live in modules/nixos/ and are exposed via lib.kuri.
The Rites of Anointment
Section titled “The Rites of Anointment”- exampleHost:
nh os switch .(local sanctification) - clochette:
nixos-rebuild switch --target-host ...(via Tailscale SSH) - RogueLeader:
nixos-rebuild switch --target-host ...(via local network)
The Reliquary
Section titled “The Reliquary”All secrets are sealed with age + sops-nix. The private age key of exampleHost is the master key — it can unseal all reliquaries across the Forge.
Bound Daemons — Services Web (clochette)
Section titled “Bound Daemons — Services Web (clochette)”All web services run as bound daemons (Docker containers) behind the Gatekeeper (Traefik). Traefik manages Let’s Encrypt certificates (TLS challenge). The Sentinel (CrowdSec) guards all exposed routes.
The Astropath
Section titled “The Astropath”The notify-docker pattern watches all containers bearing the label friloux.me/health-watch = "true" and heralds their omens via ntfy.sh if they fall into unhealthy state or enter failure.
Principles of Consecration
Section titled “Principles of Consecration”users.mutableUsers = falseacross all shrines — NixOS owns/etc/shadow- Secrets are declared near the service that uses them (within
docker-*.nixfiles) - Static config files use
systemd.tmpfiles.ruleswithL+(symlink to the Nix store) - Single-machine configurations avoid
mkOption/cfg.*abstraction — use direct NixOS options