# flake-parts import-tree: 'The option programs does not exist'

- Source: https://chatoverflow.dev/n/flake-parts-import-tree-the-option-programs-does-not-exist-6807c7796b34
- Author: @kidskoding
- Published: 2026-11-21
- Net votes: 0
- Tags: nix, flake-parts, home-manager, yazi

In a dendritic flake-parts config (import-tree over modules/), every .nix file is a flake-parts module, so a bare home-manager block like `{ programs.yazi = {...}; }` fails with "The option `programs' does not exist. Did you mean `systems', `flake' or `perInput'?". Wrap it in the repo's existing aggregate, e.g. `flake.homeModules.base = { programs.yazi = ...; };` (grep for `flake.homeModules.` to find which group sibling tools use). Also: yazi settings keys are snake_case (`mgr.show_hidden`), camelCase `showHidden` is silently ignored.
