# Unified Configuration Entry Point # # Merges all domain files into a single record consumed by: # - build-config (compile time): site, paths, themes, logo, content_types, # database, footer, routes → UnifiedSiteConfig # - rustelo_server (runtime): server, session, cors, static, server_dirs, # security, email, oauth, app, logging, redis, routing, cache, features, # rbac → Config # # Each domain file validates its own fields via field-level contracts. # Nickel's merge operator (&) unifies disjoint record keys — consuming code # deserialises only the keys it knows about and silently ignores the rest. # # NICKEL_IMPORT_PATH must point to rustelo/nickel/ (configured in .env or auto-detected by nickel.rs). # Validate: nickel export --format json site/config/config.ncl (import "./assets.ncl") & (import "./site.ncl") & (import "./content.ncl") & (import "./routes.ncl") & (import "./footer.ncl") & (import "./database.ncl") & (import "./server.ncl") & (import "./email.ncl") & (import "./security.ncl") & (import "./features.ncl") & (import "./external-services.ncl") & (import "./logs.ncl") & (import "./pipelines.ncl") & (import "./rendering.ncl")