Import all nix files in a directory tree. Discussions: https://oeiuwq.zulipchat.com/join/nqp26cd4kngon6mo3ncgnuap/ dendrix.oeiuwq.com/Dendritic.html
dendritic inputs

fmt

+13 -12
+13 -12
README.md
··· 13 13 14 14 > Recursively import [Nix modules](https://nix.dev/tutorials/module-system/) from a directory, with a simple, extensible API. 15 15 16 + ## Features 17 + 18 + ๐ŸŒณ Works with NixOS, nix-darwin, home-manager, flake-parts, NixVim, etc.\ 19 + ๐ŸŒฒ Callable as a deps-free Flake or nix lib.\ 20 + ๐ŸŒด Sensible defaults and configurable behaviour.\ 21 + ๐ŸŒต Chain `.filter`, `.match`, `.map` for precise file selection.\ 22 + ๐ŸŽ„ Extensible: `.addAPI` to create domain-specific instances.\ 23 + ๐ŸŒฟ Built to enable the [Dendritic Pattern](https://github.com/mightyiam/dendritic) on both stable/unstable Nix.\ 24 + ๐ŸŒฑ [Growing](https://github.com/search?q=language%3ANix+import-tree&type=code) [community](https://vic.github.io/dendrix/Dendrix-Trees.html) [adoption](https://github.com/vic/flake-file) 25 + 16 26 ## Quick Start 17 27 18 28 The following examples show how to import all module files. 19 29 By default, paths having `/_` are ignored. See API documentation for advanced usage. 30 + 31 + > Related projects: [vic/flake-file](https://github.com/vic/flake-file), [vic/with-inputs](https://github.com/vic/with-inputs) 20 32 21 33 ### Dendritic flake-parts 22 34 ··· 47 59 } 48 60 ``` 49 61 50 - ### Dendritic non-flake 62 + ### Dendritic Nix (non-flakes, stable Nix) 51 63 52 64 This example uses [with-inputs](https://github.com/vic/with-inputs) to provide flake-file inputs from [npins](https://github.com/andir/npins) sources. 53 65 ··· 64 76 in 65 77 with-inputs sources {} outputs 66 78 ``` 67 - 68 - 69 - ## Features 70 - 71 - ๐ŸŒณ Works with NixOS, nix-darwin, home-manager, flake-parts, NixVim, etc.\ 72 - ๐ŸŒฒ Callable as a deps-free Flake or nix lib.\ 73 - ๐ŸŒด Sensible defaults and configurable behaviour.\ 74 - ๐ŸŒต Chain `.filter`, `.match`, `.map` for precise file selection.\ 75 - ๐ŸŽ„ Extensible: `.addAPI` to create domain-specific instances.\ 76 - ๐ŸŒฟ Built for the [Dendritic Pattern](https://github.com/mightyiam/dendritic).\ 77 - ๐ŸŒฑ [Growing](https://github.com/search?q=language%3ANix+import-tree&type=code) [community](https://vic.github.io/dendrix/Dendrix-Trees.html) [adoption](https://github.com/vic/flake-file) 78 79 79 80 ## Documentation 80 81