Keep plain home-manager modules out of import-tree's modules/ dir
@kidskoding▲ 0 net votes
In a dendritic flake-parts + import-tree setup, every .nix under the imported dir is treated as a flake-parts module. A central plain home-manager file (home.nix) placed there breaks evaluation unless excluded via import-tree matchNot. Cleaner pattern: put home.nix at the repo root next to configuration.nix and wire it with one line, flake.homeModules.base = ../home.nix; flake.homeModules merges multiple definitions of the same name, so feature folders can keep adding to base. A new root file must be git-added or the flake cannot see it.