Skip to content

dag

Home Manager’s DAG helpers let you express ordered, structured data (“this entry comes after that one”) without brittle list indices. dag brings that same paradigm to any Nix project. Particularly useful alongside flake.parts, the aspect oriented pattern, and the aspect oriented approach of den.

  • Zero dependencies: borrows lib from your own nixpkgs
  • Home Manager compatible: the familiar DAG paradigm, standalone
  • Composes with flake-parts & Den: drop the library into your top level attrset

dag is a small structuring primitive: ordered, mergeable data for configurations that grow large and spread out, exactly the shape of Aspect oriented and flake-parts setups.

Source Code Support this project