Static infrastructure docs from any Nix flake. nixdiag reads your nixosConfigurations and darwinConfigurations and renders data-flow topology diagrams, module trees and an mdBook wiki.
https://kucendro.github.io/nixdiag
- Quickstart: first render in two commands
- Annotations: the full
#:grammar - Cheat sheet: the grammar on one page for your coding assistant, also
nixdiag syntax - Build and serve:
lib.mkDocsas a pure derivation, the nginx module - CLI:
facts,render,gen,check - Live demo: the wiki this repo's test fixture renders