import-tree icon indicating copy to clipboard operation
import-tree copied to clipboard

Import all nix files in a directory tree.

Results import-tree issues
Sort by recently updated
recently updated
newest added

Hi, thanks for `import-tree`. The documentation shows this direct flake-parts form: ```nix flake-parts.lib.mkFlake { inherit inputs; } (import-tree ./modules) ``` This still works. However, I encountered a compatibility change when...

# Reason The title might be a little cryptic; English, not being my native language, unfortunately does not help. To be clearer, here's an example of what I'm doing when...

The docs gives this example: https://import-tree.denful.dev/getting-started/quick-start/#with-nixos--nix-darwin--home-manager Which obviously doesn't work as `import-tree` is an undefined variable. How do I make it work. `inputs.import-tree` seems to try to import a flake-parts...

#31 just landed, allowing users to inject variables into the scope of every module in the tree. Example: ```nix # flake.nix import-tree.addScope { colors = ["red" "green" "blue"]; } ./modules...

documentation

Extend the `import-tree` API so that users can easily add variable values that are automagically imported into every scope. POC from @sini ```nix inputs@{ import-tree, flake-parts, den, ... }: flake-parts.lib.mkFlake...

enhancement

When I call `import-tree` on directory contain `default.nix`, it incorrectly return each files in the directory instead of directory itself. Example file structure: ``` modules/ subdir/ default.nix a.nix b.nix ```...

invalid