Usage for NixOS/HM modules
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 module.
Which obviously doesn't work as
import-treeis an undefined variable.
obviously it does work as long as you access it as you access any other input of yours
How do I make it work.
inputs.import-treeseems to try to import a flake-parts module.
don't know what you are referring to, import-tree has absolutely no knowledge of what flake-parts is.
maybe take a look at this example: https://github.com/denful/dendritic-unflake/blob/main/templates/builtins/default.nix
Yeah, I'm dumb, I forgot to prefix the directory I was importing with _, so it got first imported as a flake-parts module, hence the confusion.